Commit 485a4a928a059a361c7363e7ce0eab330a09dbd3

Authored by Ralf Baechle
1 parent 750ccf687f

Make UL what should be UL.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Showing 2 changed files with 9 additions and 9 deletions Side-by-side Diff

include/asm-mips/mach-generic/spaces.h
... ... @@ -55,13 +55,13 @@
55 55 #endif
56 56  
57 57 #ifdef CONFIG_DMA_NONCOHERENT
58   -#define CAC_BASE 0x9800000000000000
  58 +#define CAC_BASE 0x9800000000000000UL
59 59 #else
60   -#define CAC_BASE 0xa800000000000000
  60 +#define CAC_BASE 0xa800000000000000UL
61 61 #endif
62   -#define IO_BASE 0x9000000000000000
63   -#define UNCAC_BASE 0x9000000000000000
64   -#define MAP_BASE 0xc000000000000000
  62 +#define IO_BASE 0x9000000000000000UL
  63 +#define UNCAC_BASE 0x9000000000000000UL
  64 +#define MAP_BASE 0xc000000000000000UL
65 65  
66 66 #define TO_PHYS(x) ( ((x) & TO_PHYS_MASK))
67 67 #define TO_CAC(x) (CAC_BASE | ((x) & TO_PHYS_MASK))
include/asm-mips/mach-ip32/spaces.h
... ... @@ -19,10 +19,10 @@
19 19 #define HIGHMEM_START (1UL << 59UL)
20 20 #endif
21 21  
22   -#define CAC_BASE 0x9800000000000000
23   -#define IO_BASE 0x9000000000000000
24   -#define UNCAC_BASE 0x9000000000000000
25   -#define MAP_BASE 0xc000000000000000
  22 +#define CAC_BASE 0x9800000000000000UL
  23 +#define IO_BASE 0x9000000000000000UL
  24 +#define UNCAC_BASE 0x9000000000000000UL
  25 +#define MAP_BASE 0xc000000000000000UL
26 26  
27 27 #define TO_PHYS(x) ( ((x) & TO_PHYS_MASK))
28 28 #define TO_CAC(x) (CAC_BASE | ((x) & TO_PHYS_MASK))