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

2013-04-12 Thread Stephen Boyd
On 04/06/13 03:41, Marc Zyngier wrote: > On Fri, 5 Apr 2013 13:57:29 -0700, 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()

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

2013-04-12 Thread Stephen Boyd
On 04/06/13 03:41, Marc Zyngier wrote: On Fri, 5 Apr 2013 13:57:29 -0700, Stephen Boyd sb...@codeaurora.org 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

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

2013-04-06 Thread Marc Zyngier
On Fri, 5 Apr 2013 13:57:29 -0700, 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 >

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

2013-04-06 Thread Marc Zyngier
On Fri, 5 Apr 2013 13:57:29 -0700, Stephen Boyd sb...@codeaurora.org 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:

[PATCHv2] ARM: arch_timer: Silence debug preempt warnings

2013-04-05 Thread Stephen Boyd
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_cpu_notify+0x14/0xc8 This happens because sometimes

[PATCHv2] ARM: arch_timer: Silence debug preempt warnings

2013-04-05 Thread Stephen Boyd
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_cpu_notify+0x14/0xc8 This happens because sometimes