projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4192979
)
Hexagon: fix signal number for user mem faults
author
Richard Kuo
<rkuo@codeaurora.org>
Mon, 8 Apr 2013 22:48:33 +0000
(17:48 -0500)
committer
Richard Kuo
<rkuo@codeaurora.org>
Wed, 1 May 2013 00:40:27 +0000
(19:40 -0500)
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
arch/hexagon/mm/vm_fault.c
patch
|
blob
|
history
diff --git
a/arch/hexagon/mm/vm_fault.c
b/arch/hexagon/mm/vm_fault.c
index
308ef0c
..
1bd276d
100644
(file)
--- 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 */