Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 2014 15:43:57 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r272658 - head/sys/i386/i386
Message-ID:  <201410061543.s96FhvUJ052751@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Mon Oct  6 15:43:57 2014
New Revision: 272658
URL: https://svnweb.freebsd.org/changeset/base/272658

Log:
  Call initializecpucache() on the BSP for i386 in the !XEN case.  This was
  my bug in r271409 that I noticed while reviewing r272492.

Modified:
  head/sys/i386/i386/machdep.c

Modified: head/sys/i386/i386/machdep.c
==============================================================================
--- head/sys/i386/i386/machdep.c	Mon Oct  6 15:24:04 2014	(r272657)
+++ head/sys/i386/i386/machdep.c	Mon Oct  6 15:43:57 2014	(r272658)
@@ -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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410061543.s96FhvUJ052751>