From: Ralf Baechle Date: Sat, 1 Oct 2005 12:14:58 +0000 (+0100) Subject: No need to explicitly call __read_64bit_c0_split; __read_64bit_c0_register X-Git-Tag: v2.6.15-rc1~731^2~1^2~46 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6aaf7786ed02da7797432708fbcdd242f9c0764e;p=linux-2.6 No need to explicitly call __read_64bit_c0_split; __read_64bit_c0_register will do that itself iff needed. Fix format string. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/sibyte/swarm/setup.c b/arch/mips/sibyte/swarm/setup.c index b8be07f061..f8963de1bb 100644 --- a/arch/mips/sibyte/swarm/setup.c +++ b/arch/mips/sibyte/swarm/setup.c @@ -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); }