]> git.karo-electronics.de Git - karo-tx-linux.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>
Sat, 7 Dec 2013 23:20:56 +0000 (23:20 +0000)
commit10aa8ecd56198f53baaaf9c7208fd780088c1f71
tree784699de7f8dedcb89260d0dff9a36934ed4e0db
parent596f31f4d62f1e2d3877f137c48857a05d5f5edf
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