Commit ceb91ed1 authored by Eric W. Biederman's avatar Eric W. Biederman

signal/microblaze: Remove the commented out force_sig_info in do_page_fault

Remove the commented out call to force_sig_info right after a call to
_exception in do_page_fault.  The function _exception does exactly the
work the commented out code does so there is no reason for the
commented out code.

Cc: Michal Simek <monstr@monstr.eu>
Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent 3c67075d
...@@ -268,11 +268,6 @@ void do_page_fault(struct pt_regs *regs, unsigned long address, ...@@ -268,11 +268,6 @@ void do_page_fault(struct pt_regs *regs, unsigned long address,
/* User mode accesses cause a SIGSEGV */ /* User mode accesses cause a SIGSEGV */
if (user_mode(regs)) { if (user_mode(regs)) {
_exception(SIGSEGV, regs, code, address); _exception(SIGSEGV, regs, code, address);
/* info.si_signo = SIGSEGV;
info.si_errno = 0;
info.si_code = code;
info.si_addr = (void *) address;
force_sig_info(SIGSEGV, &info, current);*/
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment