projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d20f2f8
)
arch/tile: enable interrupts in do_work_pending()
author
Chris Metcalf
<cmetcalf@tilera.com>
Fri, 12 Oct 2012 19:38:54 +0000
(15:38 -0400)
committer
Chris Metcalf
<cmetcalf@tilera.com>
Fri, 12 Oct 2012 19:38:54 +0000
(15:38 -0400)
All the called functions expect interrupts to be enabled, and
now one of them has started to warn about it, so make it correct.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/process.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/tile/kernel/process.c
b/arch/tile/kernel/process.c
index 6be7991505019a30ce3ff6268c275a931a088644..4f1a2413e865c351dd7fca93631dbd00f6376bae 100644
(file)
--- a/
arch/tile/kernel/process.c
+++ b/
arch/tile/kernel/process.c
@@
-548,6
+548,9
@@
int do_work_pending(struct pt_regs *regs, u32 thread_info_flags)
if (!user_mode(regs))
return 0;
+ /* Enable interrupts; they are disabled again on return to caller. */
+ local_irq_enable();
+
if (thread_info_flags & _TIF_NEED_RESCHED) {
schedule();
return 1;