projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5687580
)
xtensa: can't get to do_notify_resume() when user_mode(regs) is not true
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 29 Apr 2012 02:42:43 +0000
(22:42 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 1 Oct 2012 13:58:09 +0000
(09:58 -0400)
asm glue checks that
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/xtensa/kernel/signal.c
patch
|
blob
|
history
diff --git
a/arch/xtensa/kernel/signal.c
b/arch/xtensa/kernel/signal.c
index efe4e854b3cdd06808eec1bcd3fe8fa70b07ed96..0cbe67a2248a8b2675eb405954d6113d1c3e4659 100644
(file)
--- a/
arch/xtensa/kernel/signal.c
+++ b/
arch/xtensa/kernel/signal.c
@@
-527,9
+527,6
@@
static void do_signal(struct pt_regs *regs)
void do_notify_resume(struct pt_regs *regs)
{
- if (!user_mode(regs))
- return;
-
if (test_thread_flag(TIF_SIGPENDING))
do_signal(regs);