aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/fault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm/fault.c')
-rw-r--r--arch/x86/mm/fault.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
index c6acc6326374..0482fa649738 100644
--- a/arch/x86/mm/fault.c
+++ b/arch/x86/mm/fault.c
@@ -951,11 +951,11 @@ do_page_fault(struct pt_regs *regs, unsigned long error_code)
951 tsk = current; 951 tsk = current;
952 mm = tsk->mm; 952 mm = tsk->mm;
953 953
954 prefetchw(&mm->mmap_sem);
955
956 /* Get the faulting address: */ 954 /* Get the faulting address: */
957 address = read_cr2(); 955 address = read_cr2();
958 956
957 prefetchw(&mm->mmap_sem);
958
959 if (unlikely(kmmio_fault(regs, address))) 959 if (unlikely(kmmio_fault(regs, address)))
960 return; 960 return;
961 961