提交 a047775e 编写于 作者: M Michal Simek

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: e962bb9e)
Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
上级 f663b60f
...@@ -160,3 +160,8 @@ int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpregs) ...@@ -160,3 +160,8 @@ int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpregs)
return 0; /* MicroBlaze has no separate FPU registers */ return 0; /* MicroBlaze has no separate FPU registers */
} }
#endif /* CONFIG_MMU */ #endif /* CONFIG_MMU */
void arch_cpu_idle(void)
{
local_irq_enable();
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册