ARM: pgtable: invert L_PTE_EXEC to L_PTE_XN
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 16 Nov 2010 00:23:31 +0000 (00:23 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 22 Dec 2010 11:05:35 +0000 (11:05 +0000)
commit9522d7e4cb5e0858122fc55d33a2c07728f0b10d
tree49438ddcd5217da82cf9ebe79dda8577bc346456
parente926f4495e202500a6265987277fab217e235f08
ARM: pgtable: invert L_PTE_EXEC to L_PTE_XN

The hardware page tables use an XN bit 'execute never'.  Historically,
we've had a Linux 'execute allow' bit, in the positive sense.  Get rid
of this artifact as future hardware will continue to have the XN sense.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/pgtable.h
arch/arm/mm/mmu.c
arch/arm/mm/proc-macros.S
arch/arm/mm/proc-v7.S