[SPARC64]: Fix _PAGE_EXEC handling.
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 2 Mar 2006 06:42:18 +0000 (22:42 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:14:13 +0000 (01:14 -0800)
commit45f791eb0f03e760183d30d3f1f18dc2b8e902fe
tree05ef47c68b45202106b70c1f28d4935a2c6115fb
parent92daa77e9a829350fd3900ff58d9c69820ad0e3d
[SPARC64]: Fix _PAGE_EXEC handling.

First of all, use the known _PAGE_EXEC_{4U,4V} value instead
of loading _PAGE_EXEC from memory.  We either know which one
to use by context, or we can code patch the test.

Next, we need to check executability of a PTE in the generic
TSB miss handler.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/itlb_miss.S
arch/sparc64/kernel/sun4v_tlb_miss.S
arch/sparc64/kernel/tsb.S