]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] SPARC64: Fix two bugs wrt. kernel 4MB TSB.
authorDavid Miller <davem@davemloft.net>
Thu, 7 Jun 2007 05:52:35 +0000 (22:52 -0700)
committerChris Wright <chrisw@sous-sol.org>
Mon, 11 Jun 2007 18:37:13 +0000 (11:37 -0700)
commit6e351b1d8533f9ea5dd4feae2386b325b1c3f12a
tree58b9983dec43fd6435f91c57ccbbcfb62a2dff15
parent6905f0fcedf2a9f44d2690bf029cb1efdc7a9fdb
[PATCH] SPARC64: Fix two bugs wrt. kernel 4MB TSB.

1) The TSB lookup was not using the correct hash mask.

2) It was not aligned on a boundary equal to it's size,
   which is required by the sun4v Hypervisor.

wasn't having it's return value checked, and that bug will be fixed up
as well in a subsequent changeset.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
arch/sparc64/kernel/head.S
arch/sparc64/mm/init.c
include/asm-sparc64/tsb.h