提交 6aaf7786 编写于 作者: R Ralf Baechle

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: NRalf Baechle <ralf@linux-mips.org>
上级 46dc3a4a
...@@ -73,13 +73,8 @@ int swarm_be_handler(struct pt_regs *regs, int is_fixup) ...@@ -73,13 +73,8 @@ int swarm_be_handler(struct pt_regs *regs, int is_fixup)
{ {
if (!is_fixup && (regs->cp0_cause & 4)) { if (!is_fixup && (regs->cp0_cause & 4)) {
/* Data bus error - print PA */ /* 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)); __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); return (is_fixup ? MIPS_BE_FIXUP : MIPS_BE_FATAL);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册