freebsd-dev/sys/i386
Bosko Milekic 84e11fbc2e Move the setting of curproc to idleproc up earlier in ap_init(). The
problem is that a mutex lock, prior to this change, is acquired before
the curproc is set to idleproc, so we mess ourselves up by calling
the mutex lock routine with curproc == NULL.

Moving it up after the aps_ready spin-wait has us hopefully setting it
after idleproc is setup.

Solved by: jake (the allmighty) :-)
2001-01-28 03:41:01 +00:00
..
acpica FreeBSD-specific OSD (operating system dependant) modules for the Intel 2000-10-28 06:56:15 +00:00
apm select() DKI is now in <sys/selinfo.h>. 2001-01-09 04:33:49 +00:00
bios select() DKI is now in <sys/selinfo.h>. 2001-01-09 04:33:49 +00:00
conf Turn DEVFS on by default. 2001-01-27 08:18:36 +00:00
i386 Move the setting of curproc to idleproc up earlier in ap_init(). The 2001-01-28 03:41:01 +00:00
ibcs2 Back out proc locking to protect p_ucred for obtaining additional 2001-01-27 00:01:31 +00:00
include Move the setting of curproc to idleproc up earlier in ap_init(). The 2001-01-28 03:41:01 +00:00
isa Newbusify ar(4). 2001-01-24 18:45:29 +00:00
linux Proc locking. 2001-01-24 00:27:28 +00:00
pci Fix a warning due to missing prototype. 2001-01-19 09:10:14 +00:00
svr4 - Proc locking. 2001-01-24 00:24:57 +00:00
Makefile Update tags directive to reflect the new location of soft updates 2000-07-04 00:18:43 +00:00