Make UL what should be UL.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 19 Oct 2005 13:45:09 +0000 (14:45 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:32:44 +0000 (19:32 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/mach-generic/spaces.h
include/asm-mips/mach-ip32/spaces.h

index 5a2c1efb4eb7bf47a3c2212263f69c7bb7337616..b849d8dd7e7848f5cb5873c2f579412f043752f2 100644 (file)
 #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))
index c7839f85c68d2949a0f324d2d19bf1a13dd181e6..44abe5c0238997b942a71f85b3cfab39c649e348 100644 (file)
 #define HIGHMEM_START          (1UL << 59UL)
 #endif
 
-#define CAC_BASE               0x9800000000000000
-#define IO_BASE                        0x9000000000000000
-#define UNCAC_BASE             0x9000000000000000
-#define MAP_BASE               0xc000000000000000
+#define CAC_BASE               0x9800000000000000UL
+#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))