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: hol...@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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to