aboutsummaryrefslogtreecommitdiffstats
path: root/arch/hexagon/mm/vm_fault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/hexagon/mm/vm_fault.c')
-rw-r--r--arch/hexagon/mm/vm_fault.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/hexagon/mm/vm_fault.c b/arch/hexagon/mm/vm_fault.c
index 308ef0ce648b..1bd276dbec7d 100644
--- a/arch/hexagon/mm/vm_fault.c
+++ b/arch/hexagon/mm/vm_fault.c
@@ -147,7 +147,7 @@ good_area:
147 } 147 }
148 info.si_errno = 0; 148 info.si_errno = 0;
149 info.si_addr = (void __user *)address; 149 info.si_addr = (void __user *)address;
150 force_sig_info(info.si_code, &info, current); 150 force_sig_info(info.si_signo, &info, current);
151 return; 151 return;
152 152
153bad_area: 153bad_area:
@@ -158,7 +158,7 @@ bad_area:
158 info.si_errno = 0; 158 info.si_errno = 0;
159 info.si_code = si_code; 159 info.si_code = si_code;
160 info.si_addr = (void *)address; 160 info.si_addr = (void *)address;
161 force_sig_info(SIGSEGV, &info, current); 161 force_sig_info(info.si_signo, &info, current);
162 return; 162 return;
163 } 163 }
164 /* Kernel-mode fault falls through */ 164 /* Kernel-mode fault falls through */