diff options
-rw-r--r-- | arch/arm/include/asm/pgtable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/pgtable.h b/arch/arm/include/asm/pgtable.h index be956dbf6bae..910d2741c031 100644 --- a/arch/arm/include/asm/pgtable.h +++ b/arch/arm/include/asm/pgtable.h | |||
@@ -254,6 +254,8 @@ PTE_BIT_FUNC(mkclean, &= ~L_PTE_DIRTY); | |||
254 | PTE_BIT_FUNC(mkdirty, |= L_PTE_DIRTY); | 254 | PTE_BIT_FUNC(mkdirty, |= L_PTE_DIRTY); |
255 | PTE_BIT_FUNC(mkold, &= ~L_PTE_YOUNG); | 255 | PTE_BIT_FUNC(mkold, &= ~L_PTE_YOUNG); |
256 | PTE_BIT_FUNC(mkyoung, |= L_PTE_YOUNG); | 256 | PTE_BIT_FUNC(mkyoung, |= L_PTE_YOUNG); |
257 | PTE_BIT_FUNC(mkexec, &= ~L_PTE_XN); | ||
258 | PTE_BIT_FUNC(mknexec, |= L_PTE_XN); | ||
257 | 259 | ||
258 | static inline pte_t pte_mkspecial(pte_t pte) { return pte; } | 260 | static inline pte_t pte_mkspecial(pte_t pte) { return pte; } |
259 | 261 | ||