svn commit: r277493 - stable/10/sys/x86/x86
John Baldwin
jhb at FreeBSD.org
Wed Jan 21 17:59:33 UTC 2015
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 <mike at 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
More information about the svn-src-stable
mailing list