projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/arch/hexagon/mm/vm_fault.c
b/arch/hexagon/mm/vm_fault.c
index 308ef0ce648baeb77ed933a6c30de55a94d96438..1bd276dbec7d3503f92a19fc7cb5a39df1051621 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 */