提交 cf880248 编写于 作者: A Al Viro

ia64: can't reach do_signal() when returning to kernel mode

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 af445f45
......@@ -437,14 +437,6 @@ ia64_do_signal (struct sigscratch *scr, long in_syscall)
long restart = in_syscall;
long errno = scr->pt.r8;
/*
* In the ia64_leave_kernel code path, we want the common case to go fast, which
* is why we may in certain cases get here from kernel mode. Just return without
* doing anything if so.
*/
if (!user_mode(&scr->pt))
return;
/*
* This only loops in the rare cases of handle_signal() failing, in which case we
* need to push through a forced SIGSEGV.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册