summaryrefslogtreecommitdiff
path: root/include/asm-mips/mach-generic
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-10-19 13:45:09 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 18:32:44 (GMT)
commit485a4a928a059a361c7363e7ce0eab330a09dbd3 (patch)
treed003941b23a35254bc0bb86b5df065cb28f0fbaf /include/asm-mips/mach-generic
parent750ccf687ff9adbf2a16066a3a2757d0f761384c (diff)
downloadlinux-485a4a928a059a361c7363e7ce0eab330a09dbd3.tar.xz
Make UL what should be UL.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/mach-generic')
-rw-r--r--include/asm-mips/mach-generic/spaces.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/asm-mips/mach-generic/spaces.h b/include/asm-mips/mach-generic/spaces.h
index 5a2c1ef..b849d8d 100644
--- a/include/asm-mips/mach-generic/spaces.h
+++ b/include/asm-mips/mach-generic/spaces.h
@@ -55,13 +55,13 @@
#endif
#ifdef CONFIG_DMA_NONCOHERENT
-#define CAC_BASE 0x9800000000000000
+#define CAC_BASE 0x9800000000000000UL
#else
-#define CAC_BASE 0xa800000000000000
+#define CAC_BASE 0xa800000000000000UL
#endif
-#define IO_BASE 0x9000000000000000
-#define UNCAC_BASE 0x9000000000000000
-#define MAP_BASE 0xc000000000000000
+#define IO_BASE 0x9000000000000000UL
+#define UNCAC_BASE 0x9000000000000000UL
+#define MAP_BASE 0xc000000000000000UL
#define TO_PHYS(x) ( ((x) & TO_PHYS_MASK))
#define TO_CAC(x) (CAC_BASE | ((x) & TO_PHYS_MASK))