diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-30 19:49:23 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-01 09:58:09 -0400 |
commit | 6fdb6fbecbf1ca939699f09376e35169615a3678 (patch) | |
tree | 06e854291cb175e24d959f13c9e76212565c8b72 /arch/mn10300/kernel/signal.c | |
parent | 13d112ed32e66742a1795819b76752e8f7166848 (diff) | |
download | op-kernel-dev-6fdb6fbecbf1ca939699f09376e35169615a3678.zip op-kernel-dev-6fdb6fbecbf1ca939699f09376e35169615a3678.tar.gz |
mn10300: get rid of calling do_notify_resume() when returning to kernel mode
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mn10300/kernel/signal.c')
-rw-r--r-- | arch/mn10300/kernel/signal.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/mn10300/kernel/signal.c b/arch/mn10300/kernel/signal.c index 4d584ae..b2c0ac7 100644 --- a/arch/mn10300/kernel/signal.c +++ b/arch/mn10300/kernel/signal.c @@ -475,11 +475,6 @@ static void do_signal(struct pt_regs *regs) siginfo_t info; int signr; - /* we want the common case to go fast, which is why we may in certain - * cases get here from kernel mode */ - if (!user_mode(regs)) - return; - signr = get_signal_to_deliver(&info, &ka, regs, NULL); if (signr > 0) { if (handle_signal(signr, &info, &ka, regs) == 0) { |