summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2005-06-29 10:43:51 +0000
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 19:31:32 +0100
commit4c0a2d4275b6993066810c42c4c6b0729d3b67a9 (patch)
tree1fed3157fbefd60023559a152b5f768be74633a9
parent41986a6e7ea3b3acb452d00d56acda7c63761736 (diff)
downloadlinux-4c0a2d4275b6993066810c42c4c6b0729d3b67a9.tar.gz
linux-4c0a2d4275b6993066810c42c4c6b0729d3b67a9.tar.bz2
linux-4c0a2d4275b6993066810c42c4c6b0729d3b67a9.zip
Fix the diagnostic dump for the XTLB refill handler.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/mm/tlbex.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c
index c7b3bf22bf3f..19bf0cc40917 100644
--- a/arch/mips/mm/tlbex.c
+++ b/arch/mips/mm/tlbex.c
@@ -1238,8 +1238,15 @@ static void __init build_r4000_tlb_refill_handler(void)
{
int i;
+ f = final_handler;
+#ifdef CONFIG_64BIT
+ if (final_len > 32)
+ final_len = 64;
+ else
+ f = final_handler + 32;
+#endif /* CONFIG_64BIT */
for (i = 0; i < final_len; i++)
- printk("%08x\n", final_handler[i]);
+ printk("%08x\n", f[i]);
}
#endif