summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2014-10-06 15:43:57 +0000
committerjhb <jhb@FreeBSD.org>2014-10-06 15:43:57 +0000
commitf5d5f98306a369046fc8ba0db8d2c0b97ae2fba5 (patch)
tree665b3d78b662d261890eabf868649f89215d70f6
parent6d0413c7d5b37912d9fcedfd789d7b60fa653c4f (diff)
downloadFreeBSD-src-f5d5f98306a369046fc8ba0db8d2c0b97ae2fba5.zip
FreeBSD-src-f5d5f98306a369046fc8ba0db8d2c0b97ae2fba5.tar.gz
Call initializecpucache() on the BSP for i386 in the !XEN case. This was
my bug in r271409 that I noticed while reviewing r272492.
-rw-r--r--sys/i386/i386/machdep.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c
index 34b147d..9d98f0e 100644
--- a/sys/i386/i386/machdep.c
+++ b/sys/i386/i386/machdep.c
@@ -3326,9 +3326,7 @@ init386(first)
setidt(IDT_GP, &IDTVEC(prot), SDT_SYS386TGT, SEL_KPL,
GSEL(GCODE_SEL, SEL_KPL));
initializecpu(); /* Initialize CPU registers */
-#ifdef PC98
initializecpucache();
-#endif
/* make an initial tss so cpu can get interrupt stack on syscall! */
/* Note: -16 is so we can grow the trapframe if we came from vm86 */
OpenPOWER on IntegriCloud