Author: jhb
Date: Wed Jan 21 17:59:32 2015
New Revision: 277493
URL: https://svnweb.freebsd.org/changeset/base/277493

Log:
  MFC 272666: Fix build for i386 kernels with out 'I686_CPU'.
  
  Reported by:  Mike Tancsa <m...@sentex.net>

Modified:
  stable/10/sys/x86/x86/local_apic.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/x86/x86/local_apic.c
==============================================================================
--- stable/10/sys/x86/x86/local_apic.c  Wed Jan 21 17:03:11 2015        
(r277492)
+++ stable/10/sys/x86/x86/local_apic.c  Wed Jan 21 17:59:32 2015        
(r277493)
@@ -1298,7 +1298,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-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to