From owner-cvs-sys Fri Nov 21 10:29:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA29034 for cvs-sys-outgoing; Fri, 21 Nov 1997 10:29:27 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA28779; Fri, 21 Nov 1997 10:27:34 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id KAA06108; Fri, 21 Nov 1997 10:27:15 -0800 (PST) Date: Fri, 21 Nov 1997 10:27:15 -0800 (PST) Message-Id: <199711211827.KAA06108@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 autoconf.c machdep.c src/sys/sys systm.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/11/21 10:27:15 PST Modified files: sys/i386/i386 autoconf.c machdep.c sys/sys systm.h Log: Fixed setting of `safepri'. It should be SWI_AST_MASK most of the time, but was left at 0. This caused the "can't happen" case in splz_swi to happen for panics when tsleep() calls splx(safepri) and there is a SWI_AST pending. This was harmless because the the error handling happens to be right. Debugging this was tricky because debugger traps force SWI_AST_MASK on in `cpl'. Revision Changes Path 1.82 +10 -1 src/sys/i386/i386/autoconf.c 1.273 +7 -1 src/sys/i386/i386/machdep.c 1.64 +2 -1 src/sys/sys/systm.h