summaryrefslogtreecommitdiff
path: root/arch/microblaze
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2013-05-09 10:32:20 +0200
committerMichal Simek <michal.simek@xilinx.com>2013-05-09 10:46:16 +0200
commita047775e7eff511a529bf65f3b3e9c11443789b2 (patch)
treef5837f8d7c6f3d96bd901cc2faaad1c29d2bbf34 /arch/microblaze
parentf663b60f5215b44d147ee0c07d17ffd7e9f3f881 (diff)
downloadlinux-3.10-a047775e7eff511a529bf65f3b3e9c11443789b2.tar.gz
linux-3.10-a047775e7eff511a529bf65f3b3e9c11443789b2.tar.bz2
linux-3.10-a047775e7eff511a529bf65f3b3e9c11443789b2.zip
microblaze: Enable IRQ in arch_cpu_idle
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>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/kernel/process.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/process.c b/arch/microblaze/kernel/process.c
index a5589380727..7d1a9c8b1f3 100644
--- a/arch/microblaze/kernel/process.c
+++ b/arch/microblaze/kernel/process.c
@@ -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();
+}