From owner-p4-projects@FreeBSD.ORG Sun Sep 3 19:12:41 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 7732216A4E5; Sun, 3 Sep 2006 19:12:41 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3014016A4E0 for ; Sun, 3 Sep 2006 19:12:41 +0000 (UTC) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1251843D6B for ; Sun, 3 Sep 2006 19:12:33 +0000 (GMT) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k83JCXkw039125 for ; Sun, 3 Sep 2006 19:12:33 GMT (envelope-from kmacy@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k83JCXOM039122 for perforce@freebsd.org; Sun, 3 Sep 2006 19:12:33 GMT (envelope-from kmacy@freebsd.org) Date: Sun, 3 Sep 2006 19:12:33 GMT Message-Id: <200609031912.k83JCXOM039122@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to kmacy@freebsd.org using -f From: Kip Macy To: Perforce Change Reviews Cc: Subject: PERFORCE change 105609 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 19:12:41 -0000 http://perforce.freebsd.org/chv.cgi?CH=105609 Change 105609 by kmacy@kmacy_storage:sun4v_work_stable on 2006/09/03 19:11:52 undo panic breakage Affected files ... .. //depot/projects/kmacy_sun4v_stable/src/sys/kern/kern_shutdown.c#3 edit Differences ... ==== //depot/projects/kmacy_sun4v_stable/src/sys/kern/kern_shutdown.c#3 (text+ko) ==== @@ -506,8 +506,7 @@ static char buf[256]; #ifdef SMP - struct pcpu *pc; - static int cpusprinted = 0; + DELAY(10000000*curcpu); /* * We don't want multiple CPU's to panic at the same time, so we * use panic_cpu as a simple spinlock. We have to keep checking @@ -520,15 +519,6 @@ while (panic_cpu != NOCPU) ; /* nothing */ - if (!cpusprinted) { - SLIST_FOREACH(pc, &cpuhead, pc_allcpu) { - printf("cpu%d tl=%d trapid=%d\n", pc->pc_cpuid, - pc->pc_tl, pc->pc_trapid); - db_trace_thread(pc->pc_curthread, 20); - } - cpusprinted = 1; - } - #endif bootopt = RB_AUTOBOOT | RB_DUMP;