summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/addrspace.h
diff options
context:
space:
mode:
authorZhi-zhou Zhang <etou.zh@gmail.com>2012-10-16 15:02:08 +0200
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2012-10-16 15:02:08 +0200
commit090854c826276b4d6361b4bdf3091ddcc977544c (patch)
tree0a5eec58a100bb3f1266379e19ee4953e5069ac0 /arch/mips/include/asm/addrspace.h
parentcb0a6a1ecc8dfe4dbdad6f9376ef78879337b118 (diff)
downloadblackbird-obmc-uboot-090854c826276b4d6361b4bdf3091ddcc977544c.tar.gz
blackbird-obmc-uboot-090854c826276b4d6361b4bdf3091ddcc977544c.zip
MIPS: add support for 64 bit addressing
Prepare for upcoming mips64 support. This patch add mips64 address support. Signed-off-by: Zhizhou Zhang <etou.zh@gmail.com> [daniel.schwierzeck@gmail.com: prefer _MIPS_SZLONG in posix_types.h to fix some warnings] Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch/mips/include/asm/addrspace.h')
-rw-r--r--arch/mips/include/asm/addrspace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/addrspace.h b/arch/mips/include/asm/addrspace.h
index 3a1e6d615f..b768bb5081 100644
--- a/arch/mips/include/asm/addrspace.h
+++ b/arch/mips/include/asm/addrspace.h
@@ -136,7 +136,7 @@
cannot access physical memory directly from core */
#define UNCACHED_SDRAM(a) (((unsigned long)(a)) | 0x20000000)
#else /* !CONFIG_SOC_AU1X00 */
-#define UNCACHED_SDRAM(a) KSEG1ADDR(a)
+#define UNCACHED_SDRAM(a) CKSEG1ADDR(a)
#endif /* CONFIG_SOC_AU1X00 */
#endif /* __ASSEMBLY__ */
OpenPOWER on IntegriCloud