aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2005-05-17 00:53:32 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-17 10:59:16 -0400
commit376ec33fcb246fdd7de1696d33739a0fd36f6537 (patch)
treed563f7e14935330e0b6d38ce48f12d15ecea090d /arch/x86_64/kernel
parent3b9ba4d5e23fcab24dd4d2e46dce11f5863869b4 (diff)
[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/kernel')
-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)
925 unsigned id; 925 unsigned id;
926 DECLARE_BITMAP(clustermap, NUM_APIC_CLUSTERS); 926 DECLARE_BITMAP(clustermap, NUM_APIC_CLUSTERS);
927 927
928 bitmap_empty(clustermap, NUM_APIC_CLUSTERS); 928 bitmap_zero(clustermap, NUM_APIC_CLUSTERS);
929 929
930 for (i = 0; i < NR_CPUS; i++) { 930 for (i = 0; i < NR_CPUS; i++) {
931 id = bios_cpu_apicid[i]; 931 id = bios_cpu_apicid[i];