summaryrefslogtreecommitdiffstats
path: root/arch/x86_64
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2005-05-16 21:53:32 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-17 07:59:16 -0700
commit376ec33fcb246fdd7de1696d33739a0fd36f6537 (patch)
treed563f7e14935330e0b6d38ce48f12d15ecea090d /arch/x86_64
parent3b9ba4d5e23fcab24dd4d2e46dce11f5863869b4 (diff)
downloadblackbird-op-linux-376ec33fcb246fdd7de1696d33739a0fd36f6537.tar.gz
blackbird-op-linux-376ec33fcb246fdd7de1696d33739a0fd36f6537.zip
[PATCH] x86_64: Fix OEM hpet check
Use bitmap_zero instead of bitmap_empty to initialise cpu mask This makes it actually run reliable instead of relying on stack state. Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64')
-rw-r--r--arch/x86_64/kernel/apic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/apic.c b/arch/x86_64/kernel/apic.c
index 7e13545748e0..7f0b44e4a6e3 100644
--- a/arch/x86_64/kernel/apic.c
+++ b/arch/x86_64/kernel/apic.c
@@ -925,7 +925,7 @@ __init int oem_force_hpet_timer(void)
unsigned id;
DECLARE_BITMAP(clustermap, NUM_APIC_CLUSTERS);
- bitmap_empty(clustermap, NUM_APIC_CLUSTERS);
+ bitmap_zero(clustermap, NUM_APIC_CLUSTERS);
for (i = 0; i < NR_CPUS; i++) {
id = bios_cpu_apicid[i];
OpenPOWER on IntegriCloud