public inbox for linux-parisc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] parisc: avoid WARNING: at kernel/cpu/idle.c:96
@ 2013-05-08 20:42 Helge Deller
  2013-05-08 21:05 ` James Bottomley
  0 siblings, 1 reply; 5+ messages in thread
From: Helge Deller @ 2013-05-08 20:42 UTC (permalink / raw)
  To: linux-parisc, James Bottomley, John David Anglin

We need to enable local irqs to avoid this runtime warning.

Signed-off-by: Helge Deller <deller@gmx.de>

diff --git a/arch/parisc/kernel/process.c b/arch/parisc/kernel/process.c
index 55f92b6..2840d43 100644
--- a/arch/parisc/kernel/process.c
+++ b/arch/parisc/kernel/process.c
@@ -286,3 +286,8 @@ void *dereference_function_descriptor(void *ptr)
 	return ptr;
 }
 #endif
+
+void arch_cpu_idle(void)
+{
+	local_irq_enable();
+}

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

end of thread, other threads:[~2013-05-18 19:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-08 20:42 [PATCH] parisc: avoid WARNING: at kernel/cpu/idle.c:96 Helge Deller
2013-05-08 21:05 ` James Bottomley
2013-05-17  6:25   ` James Bottomley
2013-05-17 19:25   ` Srivatsa S. Bhat
2013-05-18 19:40     ` Helge Deller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox