diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2018-04-18 01:39:29 +0300 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-09-27 22:58:18 +0300 |
commit | a618a2754ce6037beabe770aa01ae5ca97a0d65e (patch) | |
tree | 33373f9075f74688e52186fbdc23c678a9e348d8 /arch/ia64/mm | |
parent | b92adb74adde62d9a9780ff2977d63dcb21aeaa6 (diff) | |
download | linux-a618a2754ce6037beabe770aa01ae5ca97a0d65e.tar.xz |
signal/ia64: Use force_sig_fault where appropriate
Acked-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'arch/ia64/mm')
-rw-r--r-- | arch/ia64/mm/fault.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/ia64/mm/fault.c b/arch/ia64/mm/fault.c index a9d55ad8d67b..5baeb022f474 100644 --- a/arch/ia64/mm/fault.c +++ b/arch/ia64/mm/fault.c @@ -248,16 +248,8 @@ retry: return; } if (user_mode(regs)) { - struct siginfo si; - - clear_siginfo(&si); - si.si_signo = signal; - si.si_errno = 0; - si.si_code = code; - si.si_addr = (void __user *) address; - si.si_isr = isr; - si.si_flags = __ISR_VALID; - force_sig_info(signal, &si, current); + force_sig_fault(signal, code, (void __user *) address, + 0, __ISR_VALID, isr, current); return; } |