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:
parent
4d2cf9795f
commit
e64911f0f4
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user