svn commit: r272666 - head/sys/x86/x86

John Baldwin jhb at FreeBSD.org
Mon Oct 6 18:11:06 UTC 2014


Author: jhb
Date: Mon Oct  6 18:11:05 2014
New Revision: 272666
URL: https://svnweb.freebsd.org/changeset/base/272666

Log:
  Fix build for i386 kernels with out 'I686_CPU'.
  
  PR:		193660
  Submitted by:	holger at freyther.de

Modified:
  head/sys/x86/x86/local_apic.c

Modified: head/sys/x86/x86/local_apic.c
==============================================================================
--- head/sys/x86/x86/local_apic.c	Mon Oct  6 17:27:49 2014	(r272665)
+++ head/sys/x86/x86/local_apic.c	Mon Oct  6 18:11:05 2014	(r272666)
@@ -1366,7 +1366,7 @@ apic_init(void *dummy __unused)
 		printf("APIC: Using the %s enumerator.\n",
 		    best_enum->apic_name);
 
-#ifndef __amd64__
+#ifdef I686_CPU
 	/*
 	 * To work around an errata, we disable the local APIC on some
 	 * CPUs during early startup.  We need to turn the local APIC back


More information about the svn-src-all mailing list