diff options
author | jhb <jhb@FreeBSD.org> | 2007-10-27 13:34:53 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2007-10-27 13:34:53 +0000 |
commit | e64911f0f40767d5da9f79dd5ef4d8c4b5609839 (patch) | |
tree | 05e48eb4579b62add00e11069eb59660714d8d4d | |
parent | 4d2cf9795fb9b5ee00c01e5fe4a054ae761b5822 (diff) | |
download | FreeBSD-src-e64911f0f40767d5da9f79dd5ef4d8c4b5609839.zip FreeBSD-src-e64911f0f40767d5da9f79dd5ef4d8c4b5609839.tar.gz |
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
-rw-r--r-- | sys/amd64/amd64/local_apic.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/amd64/amd64/local_apic.c b/sys/amd64/amd64/local_apic.c index b532e91..d201310 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; |