All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 8/9] clocksource: use this_cpu_ptr per-cpu helper
@ 2012-11-13  1:53 Shan Wei
  2012-11-13 19:02 ` John Stultz
  0 siblings, 1 reply; 2+ messages in thread
From: Shan Wei @ 2012-11-13  1:53 UTC (permalink / raw)
  To: johnstul, tglx, Kernel-Maillist, cl, Shan Wei

From: Shan Wei <davidshan@tencent.com>


Signed-off-by: Shan Wei <davidshan@tencent.com>
Reviewed-by: Christoph Lameter <cl@linux.com>
---
no changes vs v3,v2.
---
 drivers/clocksource/arm_generic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/clocksource/arm_generic.c b/drivers/clocksource/arm_generic.c
index c4d9f95..cb445ab 100644
--- a/drivers/clocksource/arm_generic.c
+++ b/drivers/clocksource/arm_generic.c
@@ -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);
 
-- 
1.7.1




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v4 8/9] clocksource: use this_cpu_ptr per-cpu helper
  2012-11-13  1:53 [PATCH v4 8/9] clocksource: use this_cpu_ptr per-cpu helper Shan Wei
@ 2012-11-13 19:02 ` John Stultz
  0 siblings, 0 replies; 2+ messages in thread
From: John Stultz @ 2012-11-13 19:02 UTC (permalink / raw)
  To: Shan Wei; +Cc: tglx, Kernel-Maillist, cl

On 11/12/2012 05:53 PM, Shan Wei wrote:
> From: Shan Wei <davidshan@tencent.com>
>
>
> Signed-off-by: Shan Wei <davidshan@tencent.com>
> Reviewed-by: Christoph Lameter <cl@linux.com>

Please provide a changelog (even for trivial changes) in the future.

Applied to my tree.

thanks
-john


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-13 19:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-13  1:53 [PATCH v4 8/9] clocksource: use this_cpu_ptr per-cpu helper Shan Wei
2012-11-13 19:02 ` John Stultz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.