[PATCH] SPARC64: Fix two bugs wrt. kernel 4MB TSB.
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 7 Jun 2007 05:52:35 +0000 (22:52 -0700)
committerChris Wright <chrisw@sous-sol.org>
Mon, 11 Jun 2007 18:36:53 +0000 (11:36 -0700)
commitb426a33edd9a3f2254cd89faefbadab9671c742a
tree782ea2563f0ac597aa01b7b2539d58a5a307c49a
parentd7921bb5af49a1f0ee872040b8de62b120d1433a
[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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/sparc64/kernel/head.S
arch/sparc64/mm/init.c
include/asm-sparc64/tsb.h