aboutsummaryrefslogtreecommitdiffstats
path: root/arch/avr32/mm/fault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/avr32/mm/fault.c')
-rw-r--r--arch/avr32/mm/fault.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/avr32/mm/fault.c b/arch/avr32/mm/fault.c
index 2ca27b055825..0eca93327195 100644
--- a/arch/avr32/mm/fault.c
+++ b/arch/avr32/mm/fault.c
@@ -86,6 +86,8 @@ asmlinkage void do_page_fault(unsigned long ecr, struct pt_regs *regs)
86 86
87 local_irq_enable(); 87 local_irq_enable();
88 88
89 if (user_mode(regs))
90 flags |= FAULT_FLAG_USER;
89retry: 91retry:
90 down_read(&mm->mmap_sem); 92 down_read(&mm->mmap_sem);
91 93