diff options
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/memory.h | 4 | ||||
-rw-r--r-- | arch/arm/include/asm/pgtable-nommu.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h index f5e693b8bab3..4312ee5e3d0b 100644 --- a/arch/arm/include/asm/memory.h +++ b/arch/arm/include/asm/memory.h | |||
@@ -104,11 +104,11 @@ | |||
104 | #endif | 104 | #endif |
105 | 105 | ||
106 | #ifndef PHYS_OFFSET | 106 | #ifndef PHYS_OFFSET |
107 | #define PHYS_OFFSET (CONFIG_DRAM_BASE) | 107 | #define PHYS_OFFSET UL(CONFIG_DRAM_BASE) |
108 | #endif | 108 | #endif |
109 | 109 | ||
110 | #ifndef END_MEM | 110 | #ifndef END_MEM |
111 | #define END_MEM (CONFIG_DRAM_BASE + CONFIG_DRAM_SIZE) | 111 | #define END_MEM (UL(CONFIG_DRAM_BASE) + CONFIG_DRAM_SIZE) |
112 | #endif | 112 | #endif |
113 | 113 | ||
114 | #ifndef PAGE_OFFSET | 114 | #ifndef PAGE_OFFSET |
diff --git a/arch/arm/include/asm/pgtable-nommu.h b/arch/arm/include/asm/pgtable-nommu.h index b011f2e939aa..013cfcdc4839 100644 --- a/arch/arm/include/asm/pgtable-nommu.h +++ b/arch/arm/include/asm/pgtable-nommu.h | |||
@@ -86,8 +86,8 @@ extern unsigned int kobjsize(const void *objp); | |||
86 | * All 32bit addresses are effectively valid for vmalloc... | 86 | * All 32bit addresses are effectively valid for vmalloc... |
87 | * Sort of meaningless for non-VM targets. | 87 | * Sort of meaningless for non-VM targets. |
88 | */ | 88 | */ |
89 | #define VMALLOC_START 0 | 89 | #define VMALLOC_START 0UL |
90 | #define VMALLOC_END 0xffffffff | 90 | #define VMALLOC_END 0xffffffffUL |
91 | 91 | ||
92 | #define FIRST_USER_ADDRESS (0) | 92 | #define FIRST_USER_ADDRESS (0) |
93 | 93 | ||