Skip to content

Commit

Permalink
No need to explicitly call __read_64bit_c0_split; __read_64bit_c0_reg…
Browse files Browse the repository at this point in the history
…ister

will do that itself iff needed.  Fix format string.
    
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent 46dc3a4 commit 6aaf778
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions arch/mips/sibyte/swarm/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,8 @@ int swarm_be_handler(struct pt_regs *regs, int is_fixup)
{
if (!is_fixup && (regs->cp0_cause & 4)) {
/* Data bus error - print PA */
#ifdef CONFIG_64BIT
printk("DBE physical address: %010lx\n",
printk("DBE physical address: %010Lx\n",
__read_64bit_c0_register($26, 1));
#else
printk("DBE physical address: %010llx\n",
__read_64bit_c0_split($26, 1));
#endif
}
return (is_fixup ? MIPS_BE_FIXUP : MIPS_BE_FATAL);
}
Expand Down

0 comments on commit 6aaf778

Please sign in to comment.