summaryrefslogtreecommitdiffstats
path: root/sys/x86
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2015-01-21 17:59:32 +0000
committerjhb <jhb@FreeBSD.org>2015-01-21 17:59:32 +0000
commit4d3ec3464b2c290acf6ed2e21fbb3479427d162e (patch)
tree4a49ec2b22cb16e14be1c9ab8afafd41a2a6190f /sys/x86
parent13bbed0129b77cd1cf205b4c2eb378c68d56e923 (diff)
downloadFreeBSD-src-4d3ec3464b2c290acf6ed2e21fbb3479427d162e.zip
FreeBSD-src-4d3ec3464b2c290acf6ed2e21fbb3479427d162e.tar.gz
MFC 272666: Fix build for i386 kernels with out 'I686_CPU'.
Reported by: Mike Tancsa <mike@sentex.net>
Diffstat (limited to 'sys/x86')
-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 25cdec6..04d7d64 100644
--- a/sys/x86/x86/local_apic.c
+++ b/sys/x86/x86/local_apic.c
@@ -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
OpenPOWER on IntegriCloud