summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apb_timer.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-10-20 14:22:45 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-10-20 14:22:45 -0700
commitd25e6b0b326278a1096e8334584c3e64517057a3 (patch)
tree3c914b877adf9615c7158b58705478e56c9b4247 /arch/x86/kernel/apb_timer.c
parente44dea35ccb78ab7dc3a75ccec71d7d6f35017c4 (diff)
parent40ffa93791985ab300fd488072e9f37ccf72e88c (diff)
Merge branch 'x86/cleanups' into x86/trampoline
Diffstat (limited to 'arch/x86/kernel/apb_timer.c')
-rw-r--r--arch/x86/kernel/apb_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apb_timer.c b/arch/x86/kernel/apb_timer.c
index 8dd77800ff5..08f75fb4f50 100644
--- a/arch/x86/kernel/apb_timer.c
+++ b/arch/x86/kernel/apb_timer.c
@@ -343,7 +343,7 @@ void apbt_setup_secondary_clock(void)
/* Don't register boot CPU clockevent */
cpu = smp_processor_id();
- if (cpu == boot_cpu_id)
+ if (!cpu)
return;
/*
* We need to calculate the scaled math multiplication factor for