projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f663b60
)
microblaze: Enable IRQ in arch_cpu_idle
author
Michal Simek
<michal.simek@xilinx.com>
Thu, 9 May 2013 08:32:20 +0000
(10:32 +0200)
committer
Michal 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
patch
|
blob
|
history
diff --git
a/arch/microblaze/kernel/process.c
b/arch/microblaze/kernel/process.c
index a55893807274cf6964f8a3ffe683b7dfb20e5dcf..7d1a9c8b1f3dfff37cad0e5a87d9372f9030a3e8 100644
(file)
--- 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();
+}