mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 23:24:05 +08: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…
Reference in New Issue
Block a user