mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-13 01:08:50 +00:00
Hexagon: fix signal number for user mem faults
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
This commit is contained in:
parent
41929798bb
commit
610208bc8d
@ -147,7 +147,7 @@ good_area:
|
||||
}
|
||||
info.si_errno = 0;
|
||||
info.si_addr = (void __user *)address;
|
||||
force_sig_info(info.si_code, &info, current);
|
||||
force_sig_info(info.si_signo, &info, current);
|
||||
return;
|
||||
|
||||
bad_area:
|
||||
@ -158,7 +158,7 @@ bad_area:
|
||||
info.si_errno = 0;
|
||||
info.si_code = si_code;
|
||||
info.si_addr = (void *)address;
|
||||
force_sig_info(SIGSEGV, &info, current);
|
||||
force_sig_info(info.si_signo, &info, current);
|
||||
return;
|
||||
}
|
||||
/* Kernel-mode fault falls through */
|
||||
|
Loading…
x
Reference in New Issue
Block a user