1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Don't test the APIC flag in the cpuid features for amd64 to see if a

local APIC is present or not.  All amd64 CPUs have a local APIC and some
BIOSen don't set the CPUID_APIC flag.

MFC after:	1 week
This commit is contained in:
John Baldwin 2007-10-27 13:34:53 +00:00
parent 4d6c5bef39
commit 54a3fb6f8f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173061

View File

@ -1007,10 +1007,6 @@ apic_init(void *dummy __unused)
struct apic_enumerator *enumerator;
int retval, best;
/* We only support built in local APICs. */
if (!(cpu_feature & CPUID_APIC))
return;
/* Don't probe if APIC mode is disabled. */
if (resource_disabled("apic", 0))
return;