commit | 3bd4c902da14030c9a780cd0c4be2ffe9aee2974 | [log] [tgz] |
---|---|---|
author | Maciej W. Rozycki <macro@linux-mips.org> | Thu Jun 16 20:30:54 2005 +0000 |
committer | Ralf Baechle <ralf@linux-mips.org> | Sat Oct 29 19:31:23 2005 +0100 |
tree | 3ebf15e8aaa4029119028d32721fd7ccbe59bccf | |
parent | 902d21d5313ba08cccadc9fceee2df3cf34e84eb [diff] [blame] |
Deal with the bloody KSEG vs CKSEG horror... Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/arch/mips/dec/ecc-berr.c b/arch/mips/dec/ecc-berr.c index c484209..a36503c 100644 --- a/arch/mips/dec/ecc-berr.c +++ b/arch/mips/dec/ecc-berr.c
@@ -144,7 +144,8 @@ } else if (!sngl) { status = dbestr; } else { - volatile u32 *ptr = (void *)KSEG1ADDR(address); + volatile u32 *ptr = + (void *)CKSEG1ADDR(address); *ptr = *ptr; /* Rewrite. */ iob();