summaryrefslogtreecommitdiffstats
path: root/arch/mips/dec/ecc-berr.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2005-06-16 22:30:54 +0200
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 20:31:23 +0200
commit3bd4c902da14030c9a780cd0c4be2ffe9aee2974 (patch)
tree3ebf15e8aaa4029119028d32721fd7ccbe59bccf /arch/mips/dec/ecc-berr.c
parentThere is NO port I/O space on the DECstation. Minor clean-ups. (diff)
downloadlinux-3bd4c902da14030c9a780cd0c4be2ffe9aee2974.tar.xz
linux-3bd4c902da14030c9a780cd0c4be2ffe9aee2974.zip
Deal with the bloody KSEG vs CKSEG horror...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/dec/ecc-berr.c')
-rw-r--r--arch/mips/dec/ecc-berr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/dec/ecc-berr.c b/arch/mips/dec/ecc-berr.c
index c4842096e50d..a36503c95bbb 100644
--- a/arch/mips/dec/ecc-berr.c
+++ b/arch/mips/dec/ecc-berr.c
@@ -144,7 +144,8 @@ static int dec_ecc_be_backend(struct pt_regs *regs, int is_fixup, int invoker)
} else if (!sngl) {
status = dbestr;
} else {
- volatile u32 *ptr = (void *)KSEG1ADDR(address);
+ volatile u32 *ptr =
+ (void *)CKSEG1ADDR(address);
*ptr = *ptr; /* Rewrite. */
iob();