Hexagon: fix signal number for user mem faults
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
This commit is contained in:
Родитель
41929798bb
Коммит
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 */
|
||||
|
|
Загрузка…
Ссылка в новой задаче