Fix the diagnostic dump for the XTLB refill handler.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Maciej W. Rozycki 2005-06-29 10:43:51 +00:00 committed by Ralf Baechle
parent 41986a6e7e
commit 4c0a2d4275
1 changed files with 8 additions and 1 deletions

View File

@ -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