microblaze: Enable IRQ in arch_cpu_idle
authorMichal Simek <michal.simek@xilinx.com>
Thu, 9 May 2013 08:32:20 +0000 (10:32 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 9 May 2013 08:46:16 +0000 (10:46 +0200)
Microblaze requires to enable IRQ in cpu_idle loop.

It should be the part of this patch:
"microblaze: Use generic idle loop"
(sha1: e962bb9e9cf73b8c8893c95903e791dd5ec19fb4)

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/kernel/process.c

index a55893807274cf6964f8a3ffe683b7dfb20e5dcf..7d1a9c8b1f3dfff37cad0e5a87d9372f9030a3e8 100644 (file)
@@ -160,3 +160,8 @@ int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpregs)
        return 0; /* MicroBlaze has no separate FPU registers */
 }
 #endif /* CONFIG_MMU */
+
+void arch_cpu_idle(void)
+{
+       local_irq_enable();
+}