Commit 4c0a2d42 authored by Maciej W. Rozycki's avatar Maciej W. Rozycki Committed by Ralf Baechle

Fix the diagnostic dump for the XTLB refill handler.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 41986a6e
...@@ -1238,8 +1238,15 @@ static void __init build_r4000_tlb_refill_handler(void) ...@@ -1238,8 +1238,15 @@ static void __init build_r4000_tlb_refill_handler(void)
{ {
int i; 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++) for (i = 0; i < final_len; i++)
printk("%08x\n", final_handler[i]); printk("%08x\n", f[i]);
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment