[SPARC64]: Fix _PAGE_EXEC_4U check in sun4u I-TLB miss handler.
authorDavid S. Miller <davem@sunset.davemloft.net>
Mon, 28 May 2007 03:24:47 +0000 (20:24 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 29 May 2007 09:50:15 +0000 (02:50 -0700)
commit679292993c77c06f7ade4e317c13256b92c2651b
tree9cff8cc7b9ad2f100e9fa1cda25de6c976c1c45e
parentb00ccd0f0b3fe8776aead63ec96313e84451b337
[SPARC64]: Fix _PAGE_EXEC_4U check in sun4u I-TLB miss handler.

It was using an immediate _PAGE_EXEC_4U value in an 'and'
instruction to perform the test.  This doesn't work because
the immediate field is signed 13-bit, this the mask being
tested against the PTE was 0x1000 sign-extended to 32-bits
instead of just plain 0x1000.

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