aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/mm
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2018-04-19 20:00:20 -0400
committerEric W. Biederman <ebiederm@xmission.com>2018-04-25 11:41:01 -0400
commitceb91ed1824d2e57007fb51dcb0d0d7110dc3fda (patch)
treebd8578bddb05e199618e03ecb5dde0e301554c58 /arch/microblaze/mm
parent3c67075d5df21f6bdb1dade1f2ab7e82ef0c0f6a (diff)
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>
Diffstat (limited to 'arch/microblaze/mm')
-rw-r--r--arch/microblaze/mm/fault.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/microblaze/mm/fault.c b/arch/microblaze/mm/fault.c
index 43d92167012a..1251d380df47 100644
--- a/arch/microblaze/mm/fault.c
+++ b/arch/microblaze/mm/fault.c
@@ -268,11 +268,6 @@ bad_area_nosemaphore:
268 /* User mode accesses cause a SIGSEGV */ 268 /* User mode accesses cause a SIGSEGV */
269 if (user_mode(regs)) { 269 if (user_mode(regs)) {
270 _exception(SIGSEGV, regs, code, address); 270 _exception(SIGSEGV, regs, code, address);
271/* info.si_signo = SIGSEGV;
272 info.si_errno = 0;
273 info.si_code = code;
274 info.si_addr = (void *) address;
275 force_sig_info(SIGSEGV, &info, current);*/
276 return; 271 return;
277 } 272 }
278 273