diff options
author | Suresh Siddha <suresh.b.siddha@intel.com> | 2005-05-16 21:53:32 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-17 07:59:16 -0700 |
commit | 376ec33fcb246fdd7de1696d33739a0fd36f6537 (patch) | |
tree | d563f7e14935330e0b6d38ce48f12d15ecea090d /arch | |
parent | 3b9ba4d5e23fcab24dd4d2e46dce11f5863869b4 (diff) | |
download | talos-obmc-linux-376ec33fcb246fdd7de1696d33739a0fd36f6537.tar.gz talos-obmc-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')
-rw-r--r-- | arch/x86_64/kernel/apic.c | 2 |
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]; |