No need to explicitly call __read_64bit_c0_split; __read_64bit_c0_register
authorRalf Baechle <ralf@linux-mips.org>
Sat, 1 Oct 2005 12:14:58 +0000 (13:14 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:32:33 +0000 (19:32 +0100)
will do that itself iff needed.  Fix format string.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sibyte/swarm/setup.c

index b8be07f061ee19da001d58f1eafb0d11a5a5f854..f8963de1bbf43e00dda12b0bdefe8bf05f4ae315 100644 (file)
@@ -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);
 }