aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/mm/fault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/mm/fault.c')
-rw-r--r--arch/ia64/mm/fault.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/ia64/mm/fault.c b/arch/ia64/mm/fault.c
index dfdc152d6737..817fa120645f 100644
--- a/arch/ia64/mm/fault.c
+++ b/arch/ia64/mm/fault.c
@@ -85,7 +85,6 @@ ia64_do_page_fault (unsigned long address, unsigned long isr, struct pt_regs *re
85 int signal = SIGSEGV, code = SEGV_MAPERR; 85 int signal = SIGSEGV, code = SEGV_MAPERR;
86 struct vm_area_struct *vma, *prev_vma; 86 struct vm_area_struct *vma, *prev_vma;
87 struct mm_struct *mm = current->mm; 87 struct mm_struct *mm = current->mm;
88 struct siginfo si;
89 unsigned long mask; 88 unsigned long mask;
90 int fault; 89 int fault;
91 unsigned int flags = FAULT_FLAG_ALLOW_RETRY | FAULT_FLAG_KILLABLE; 90 unsigned int flags = FAULT_FLAG_ALLOW_RETRY | FAULT_FLAG_KILLABLE;
@@ -249,6 +248,9 @@ retry:
249 return; 248 return;
250 } 249 }
251 if (user_mode(regs)) { 250 if (user_mode(regs)) {
251 struct siginfo si;
252
253 clear_siginfo(&si);
252 si.si_signo = signal; 254 si.si_signo = signal;
253 si.si_errno = 0; 255 si.si_errno = 0;
254 si.si_code = code; 256 si.si_code = code;