From a2f67d90877c116e2a1add4da84f6103e264bdce Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 6 Oct 2014 18:11:05 +0000 Subject: [PATCH] Fix build for i386 kernels with out 'I686_CPU'. PR: 193660 Submitted by: holger@freyther.de --- sys/x86/x86/local_apic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/x86/x86/local_apic.c b/sys/x86/x86/local_apic.c index 2aa18f57aec..e3228ce3495 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