summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-10-01 13:14:58 +0100
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 19:32:33 +0100
commit6aaf7786ed02da7797432708fbcdd242f9c0764e (patch)
tree0cbece6a0ec2b706dfa8774e2b313ded86c5bbd0 /arch/mips
parent46dc3a4a098c65551d5f364e1c56331961400314 (diff)
downloadop-kernel-dev-6aaf7786ed02da7797432708fbcdd242f9c0764e.zip
op-kernel-dev-6aaf7786ed02da7797432708fbcdd242f9c0764e.tar.gz
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 <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/sibyte/swarm/setup.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/mips/sibyte/swarm/setup.c b/arch/mips/sibyte/swarm/setup.c
index b8be07f..f8963de 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);
}
OpenPOWER on IntegriCloud