From a047775e7eff511a529bf65f3b3e9c11443789b2 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Thu, 9 May 2013 10:32:20 +0200 Subject: [PATCH] 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 --- arch/microblaze/kernel/process.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/microblaze/kernel/process.c b/arch/microblaze/kernel/process.c index a55893807274..7d1a9c8b1f3d 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(); +}