projects
/
kernel
/
kernel-generic.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
efe4e85
..
0cbe67a
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);