arm: don't call try_to_freeze() from do_signal()
get_signal_to_deliver() will handle it itself Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -642,9 +642,6 @@ static void do_signal(struct pt_regs *regs, int syscall)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (try_to_freeze())
|
|
||||||
goto no_signal;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Get the signal to deliver. When running under ptrace, at this
|
* Get the signal to deliver. When running under ptrace, at this
|
||||||
* point the debugger may change all our registers ...
|
* point the debugger may change all our registers ...
|
||||||
@@ -684,7 +681,6 @@ static void do_signal(struct pt_regs *regs, int syscall)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
no_signal:
|
|
||||||
if (syscall) {
|
if (syscall) {
|
||||||
/*
|
/*
|
||||||
* Handle restarting a different system call. As above,
|
* Handle restarting a different system call. As above,
|
||||||
|
|||||||
Reference in New Issue
Block a user