summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2014-10-06 18:11:05 +0000
committerjhb <jhb@FreeBSD.org>2014-10-06 18:11:05 +0000
commitec52dc2e32db4eb374eeab04e767bd78262daed7 (patch)
treedeacdf050f70d84324e74f670e743e3f9d597297
parent9012a745116d83288fd8bd32fb19bf7ccc83b96d (diff)
downloadFreeBSD-src-ec52dc2e32db4eb374eeab04e767bd78262daed7.zip
FreeBSD-src-ec52dc2e32db4eb374eeab04e767bd78262daed7.tar.gz
Fix build for i386 kernels with out 'I686_CPU'.
PR: 193660 Submitted by: holger@freyther.de
-rw-r--r--sys/x86/x86/local_apic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/x86/x86/local_apic.c b/sys/x86/x86/local_apic.c
index 2aa18f5..e3228ce 100644
--- a/sys/x86/x86/local_apic.c
+++ b/sys/x86/x86/local_apic.c
@@ -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
OpenPOWER on IntegriCloud