clocksource: use this_cpu_ptr per-cpu helper
PATCH v4 8/9 clocksource: use this_cpu_ptr per-cpu helper
From: Shan Wei <[email protected]>
Signed-off-by Shan Wei <[email protected]>
Reviewed-by Christoph Lameter <[email protected]>
---
no changes vs v3,v2.
--- drivers/clocksource/arm_generic.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/clocksource/arm_generic.c +1 -1
@@ -224,7 +224,7 @@ int __init arm_generic_timer_init(void) lpj_fine = arch_timer_rate /HZ ;/* Immediately configure the timer on the boot CPU */ -arch_timer_setup (per_cpu_ptr (&arch_timer_evt,smp_processor_id ())); +arch_timer_setup (this_cpu_ptr (&arch_timer_evt));register_cpu_notifier (&arch_timer_cpu_nb);
Signature · 1 line
1.7.1
John Stultz
AppliedQuoted 5 lines · Shan Wei
From: Shan Wei <[email protected]>
Signed-off-by Shan Wei <[email protected]>Reviewed-by Christoph Lameter <[email protected]>
Please provide a changelog (even for trivial changes) in the future.
Applied to my tree.
thanks
-john