diff mbox

parisc: avoid WARNING: at kernel/cpu/idle.c:96

Message ID 20130508204242.GA16254@p100.box (mailing list archive)
State Awaiting Upstream
Headers show

Commit Message

Helge Deller May 8, 2013, 8:42 p.m. UTC
We need to enable local irqs to avoid this runtime warning.

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

--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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();
+}