diff options
author | James Bottomley <JBottomley@Parallels.com> | 2013-05-09 01:05:34 +0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2013-06-15 01:01:05 +0400 |
commit | 29ce3785b22da47c49f4ef6e14b9014fa5dee261 (patch) | |
tree | 7280fe879b7a63a9e66d105ef31b4ad2e28ad99a /kernel/trace/trace_events.c | |
parent | d7880812b3594d3c6dcbe3cfd71dabb17347d082 (diff) | |
download | linux-29ce3785b22da47c49f4ef6e14b9014fa5dee261.tar.xz |
idle: Enable interrupts in the weak arch_cpu_idle() implementation
PARISC bootup triggers the warning at kernel/cpu/idle.c:96. That's
caused by the weak arch_cpu_idle() implementation, which is provided
to avoid that architectures implement idle_poll over and over.
The switchover to polling mode happens in the first call of the weak
arch_cpu_idle() implementation, but that code fails to reenable
interrupts and therefor triggers the warning.
Fix this by enabling interrupts in the weak arch_cpu_idle() code.
[ tglx: Made the changelog match the patch ]
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1371236142.2726.43.camel@dabdike
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace/trace_events.c')
0 files changed, 0 insertions, 0 deletions