From: Maciej W. Rozycki Date: Wed, 29 Jun 2005 10:43:51 +0000 (+0000) Subject: Fix the diagnostic dump for the XTLB refill handler. X-Git-Tag: v2.6.15-rc1~731^2~1^2~173 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4c0a2d4275b6993066810c42c4c6b0729d3b67a9;p=platform%2Fkernel%2Flinux-3.10.git Fix the diagnostic dump for the XTLB refill handler. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c index c7b3bf2..19bf0cc 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