Date: Mon, 2 Feb 2004 15:22:24 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 machdep.c Message-ID: <200402022322.i12NMOVR098769@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2004/02/02 15:22:24 PST
FreeBSD src repository
Modified files:
sys/i386/i386 machdep.c
Log:
Set PCPU_GET(curpcb) for the BSP to thread0's pcb. Otherwise, the boot CPU
doesn't have a pcb until after it's first context switch. This can cause
secondary panics if a page fault happens during bootup.
Revision Changes Path
1.586 +1 -0 src/sys/i386/i386/machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402022322.i12NMOVR098769>
