From e64911f0f40767d5da9f79dd5ef4d8c4b5609839 Mon Sep 17 00:00:00 2001 From: jhb Date: Sat, 27 Oct 2007 13:34:53 +0000 Subject: [PATCH] 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 --- sys/amd64/amd64/local_apic.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/amd64/amd64/local_apic.c b/sys/amd64/amd64/local_apic.c index b532e91e4ca9..d201310cfa3b 100644 --- a/sys/amd64/amd64/local_apic.c +++ b/sys/amd64/amd64/local_apic.c @@ -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;