diff options
Diffstat (limited to 'arch/i386')
-rw-r--r-- | arch/i386/mm/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/i386/mm/init.c b/arch/i386/mm/init.c index 4a5a914b3432..90089c14c23d 100644 --- a/arch/i386/mm/init.c +++ b/arch/i386/mm/init.c | |||
@@ -493,6 +493,7 @@ int __init set_kernel_exec(unsigned long vaddr, int enable) | |||
493 | pte->pte_high &= ~(1 << (_PAGE_BIT_NX - 32)); | 493 | pte->pte_high &= ~(1 << (_PAGE_BIT_NX - 32)); |
494 | else | 494 | else |
495 | pte->pte_high |= 1 << (_PAGE_BIT_NX - 32); | 495 | pte->pte_high |= 1 << (_PAGE_BIT_NX - 32); |
496 | pte_update_defer(&init_mm, vaddr, pte); | ||
496 | __flush_tlb_all(); | 497 | __flush_tlb_all(); |
497 | out: | 498 | out: |
498 | return ret; | 499 | return ret; |