diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2005-06-16 16:30:54 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:31:23 -0400 |
commit | 3bd4c902da14030c9a780cd0c4be2ffe9aee2974 (patch) | |
tree | 3ebf15e8aaa4029119028d32721fd7ccbe59bccf /arch/mips/dec/ecc-berr.c | |
parent | 902d21d5313ba08cccadc9fceee2df3cf34e84eb (diff) |
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.c | 3 |
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) | |||
144 | } else if (!sngl) { | 144 | } else if (!sngl) { |
145 | status = dbestr; | 145 | status = dbestr; |
146 | } else { | 146 | } else { |
147 | volatile u32 *ptr = (void *)KSEG1ADDR(address); | 147 | volatile u32 *ptr = |
148 | (void *)CKSEG1ADDR(address); | ||
148 | 149 | ||
149 | *ptr = *ptr; /* Rewrite. */ | 150 | *ptr = *ptr; /* Rewrite. */ |
150 | iob(); | 151 | iob(); |