Hexagon: fix signal number for user mem faults

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
This commit is contained in:
Richard Kuo 2013-04-08 17:48:33 -05:00
parent 41929798bb
commit 610208bc8d

View File

@ -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 */