diff options
Diffstat (limited to 'arch/x86/mm/fault.c')
-rw-r--r-- | arch/x86/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index e3ff27a5b634..ede025fb46f1 100644 --- a/arch/x86/mm/fault.c +++ b/arch/x86/mm/fault.c | |||
@@ -600,7 +600,7 @@ show_fault_oops(struct pt_regs *regs, unsigned long error_code, | |||
600 | printk(nx_warning, from_kuid(&init_user_ns, current_uid())); | 600 | printk(nx_warning, from_kuid(&init_user_ns, current_uid())); |
601 | if (pte && pte_present(*pte) && pte_exec(*pte) && | 601 | if (pte && pte_present(*pte) && pte_exec(*pte) && |
602 | (pgd_flags(*pgd) & _PAGE_USER) && | 602 | (pgd_flags(*pgd) & _PAGE_USER) && |
603 | (read_cr4() & X86_CR4_SMEP)) | 603 | (__read_cr4() & X86_CR4_SMEP)) |
604 | printk(smep_warning, from_kuid(&init_user_ns, current_uid())); | 604 | printk(smep_warning, from_kuid(&init_user_ns, current_uid())); |
605 | } | 605 | } |
606 | 606 | ||