ARM: add definitions for pte_mkexec/pte_mknexec
authorLaura Abbott <lauraa@codeaurora.org>
Mon, 17 Jun 2013 17:29:12 +0000 (10:29 -0700)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 11 Dec 2013 09:53:18 +0000 (09:53 +0000)
commit27ec8da4ace46900a71b8462157aa2bc88ff5d2c
tree6c60a78a829f5758167c577a004d2cf15a650e3b
parentebd4922ecc38e31e662cd641dd04099a9652c9b3
ARM: add definitions for pte_mkexec/pte_mknexec

Other architectures define pte_mkexec to mark a pte as executable.
Add pte_mkexec for ARM to get the same functionality. Although no
other architectures currently define it, also add pte_mknexec to
explicitly allow a pte to be marked as non executable.

Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/pgtable.h