]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] SPARC64: Fix _PAGE_EXEC_4U check in sun4u I-TLB miss handler.
authorDavid Miller <davem@davemloft.net>
Thu, 7 Jun 2007 05:56:19 +0000 (22:56 -0700)
committerChris Wright <chrisw@sous-sol.org>
Mon, 11 Jun 2007 18:36:53 +0000 (11:36 -0700)
commitbcd6a08c9dd65a78f6b63a8bce34d01243d67289
tree6dc9f68c38b8e9461f26ca09c9151e16cd42534f
parentb426a33edd9a3f2254cd89faefbadab9671c742a
[PATCH] 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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/sparc64/kernel/itlb_miss.S