[SPARC64]: Fix two bugs wrt. kernel 4MB TSB.
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 29 May 2007 08:58:31 +0000 (01:58 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 29 May 2007 09:51:38 +0000 (02:51 -0700)
commit2d9e2763c22a4ce41c3cc5f35366a51f1eba38dc
tree5a8ee71858b3ec58ff07a2cd9cf875cfb458cf63
parent5f81941c9d47f783e834028dcfb8548809da5a53
[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>
arch/sparc64/kernel/head.S
arch/sparc64/mm/init.c
include/asm-sparc64/tsb.h