]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit8deab92d2c4e4a134fd5bbec0070af1e97ec0add
tree9cff8cc7b9ad2f100e9fa1cda25de6c976c1c45e
parent8ff2e32fc180caac6355ea1be2cc09e65a142871
[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