diff options
author | Richard Kuo <rkuo@codeaurora.org> | 2013-04-08 17:48:33 -0500 |
---|---|---|
committer | Richard Kuo <rkuo@codeaurora.org> | 2013-04-30 19:40:27 -0500 |
commit | 610208bc8dec79e0ff4930a330187597d89ab861 (patch) | |
tree | 5488de95a6f05c3695ecc7d809a74668abe90d83 /arch/hexagon | |
parent | 41929798bb71a5997e4b8a760ab8e0dd4f592bb6 (diff) |
Hexagon: fix signal number for user mem faults
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon')
-rw-r--r-- | arch/hexagon/mm/vm_fault.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/hexagon/mm/vm_fault.c b/arch/hexagon/mm/vm_fault.c index 308ef0ce648..1bd276dbec7 100644 --- a/arch/hexagon/mm/vm_fault.c +++ b/arch/hexagon/mm/vm_fault.c @@ -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 */ |