mn10300: get rid of calling do_notify_resume() when returning to kernel mode

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2012-04-30 19:49:23 -04:00
parent 13d112ed32
commit 6fdb6fbecb
2 changed files with 4 additions and 5 deletions

View File

@@ -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) {