Fix build for i386 kernels with out 'I686_CPU'.

PR:		193660
Submitted by:	holger@freyther.de
This commit is contained in:
John Baldwin 2014-10-06 18:11:05 +00:00
parent 86f82ef946
commit a2f67d9087

View file

@ -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