aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm')
-rw-r--r--arch/x86/mm/fault_32.c2
-rw-r--r--arch/x86/mm/fault_64.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/fault_32.c b/arch/x86/mm/fault_32.c
index b92922a1d65f..b4d19c2d4f05 100644
--- a/arch/x86/mm/fault_32.c
+++ b/arch/x86/mm/fault_32.c
@@ -95,7 +95,7 @@ static int is_prefetch(struct pt_regs *regs, unsigned long addr,
95 /* If it was a exec fault ignore */ 95 /* If it was a exec fault ignore */
96 if (error_code & PF_INSTR) 96 if (error_code & PF_INSTR)
97 return 0; 97 return 0;
98 instr = (unsigned char __user *)convert_rip_to_linear(current, regs); 98 instr = (unsigned char __user *)convert_ip_to_linear(current, regs);
99#endif 99#endif
100 100
101 max_instr = instr + 15; 101 max_instr = instr + 15;
diff --git a/arch/x86/mm/fault_64.c b/arch/x86/mm/fault_64.c
index cf7e99895b91..d519b41f1962 100644
--- a/arch/x86/mm/fault_64.c
+++ b/arch/x86/mm/fault_64.c
@@ -98,7 +98,7 @@ static int is_prefetch(struct pt_regs *regs, unsigned long addr,
98 /* If it was a exec fault ignore */ 98 /* If it was a exec fault ignore */
99 if (error_code & PF_INSTR) 99 if (error_code & PF_INSTR)
100 return 0; 100 return 0;
101 instr = (unsigned char __user *)convert_rip_to_linear(current, regs); 101 instr = (unsigned char __user *)convert_ip_to_linear(current, regs);
102#endif 102#endif
103 103
104 max_instr = instr + 15; 104 max_instr = instr + 15;