aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/init_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm/init_32.c')
-rw-r--r--arch/x86/mm/init_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c
index 724a5eff6f34..5080646da771 100644
--- a/arch/x86/mm/init_32.c
+++ b/arch/x86/mm/init_32.c
@@ -542,7 +542,7 @@ int __init set_kernel_exec(unsigned long vaddr, int enable)
542 pte = lookup_address(vaddr); 542 pte = lookup_address(vaddr);
543 BUG_ON(!pte); 543 BUG_ON(!pte);
544 544
545 if (!pte_exec_kernel(*pte)) 545 if (!pte_exec(*pte))
546 ret = 0; 546 ret = 0;
547 547
548 if (enable) 548 if (enable)