]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf4b0c7b64bb8b2a574ddef930e9919e7c35ed088
tree6c60a78a829f5758167c577a004d2cf15a650e3b
parent4102af46b4ab2a0c853e9106557c75b69f160345
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