[XTENSA] Add support for executable/non-executable feature in the mmu
authorChris Zankel <chris@zankel.net>
Tue, 7 Aug 2007 06:57:57 +0000 (23:57 -0700)
committerChris Zankel <chris@zankel.net>
Mon, 27 Aug 2007 20:54:01 +0000 (13:54 -0700)
commit01858d1b0b406307626bbc01238391b06aae2c20
treed01d20f3f513e6a21880a60cdf195023e6aafc66
parent26465f2f4f5a253f22596fc9245a6bb5c0856ee1
[XTENSA] Add support for executable/non-executable feature in the mmu

Newer processor versions starting with Xtensa6/LX2 support an 'executable'
bit for memory pages. This bit replaces the 'valid' bit, so it must be
always set to one for older processor versions. To mark a page invalid, we now
set the cache-attributes to b11, which is backward compatible.

Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/kernel/entry.S
include/asm-xtensa/pgtable.h