Re: [PATCH] ARM: arch_timer: Silence debug preempt warnings

2013-04-05 Thread Stephen Boyd
On 04/05/13 03:04, Marc Zyngier wrote: > >>> drivers/clocksource/arm_arch_timer.c | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/drivers/clocksource/arm_arch_timer.c >>> b/drivers/clocksource/arm_arch_timer.c >>> index d7ad425..5928c29 100644 >>> --- a/drivers/cloc

Re: [PATCH] ARM: arch_timer: Silence debug preempt warnings

2013-04-05 Thread Marc Zyngier
Hi Stephen, On 05/04/13 06:11, Stephen Boyd wrote: > On 4/2/2013 1:31 PM, Stephen Boyd wrote: >> Hot-plugging with CONFIG_DEBUG_PREEMPT=y on a device with arm >> architected timers causes a slew of "using smp_processor_id() in >> preemptible" warnings: >> >> BUG: using smp_processor_id() in pree

Re: [PATCH] ARM: arch_timer: Silence debug preempt warnings

2013-04-04 Thread Stephen Boyd
On 4/2/2013 1:31 PM, Stephen Boyd wrote: > Hot-plugging with CONFIG_DEBUG_PREEMPT=y on a device with arm > architected timers causes a slew of "using smp_processor_id() in > preemptible" warnings: > > BUG: using smp_processor_id() in preemptible [] code: sh/111 > caller is arch_timer_cp