浏览代码

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: "Eric W. Biederman" <ebiederm@xmission.com>
Eric W. Biederman 7 年之前
父节点
当前提交
ceb91ed182
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      arch/microblaze/mm/fault.c

+ 0 - 5
arch/microblaze/mm/fault.c

@@ -268,11 +268,6 @@ bad_area_nosemaphore:
 	/* 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;
 	}
 	}