diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/mach/map.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-arm/mach/map.h b/include/asm-arm/mach/map.h index 0619522bd926..b338936bde4f 100644 --- a/include/asm-arm/mach/map.h +++ b/include/asm-arm/mach/map.h | |||
@@ -27,8 +27,8 @@ struct meminfo; | |||
27 | #define MT_ROM 6 | 27 | #define MT_ROM 6 |
28 | #define MT_IXP2000_DEVICE 7 | 28 | #define MT_IXP2000_DEVICE 7 |
29 | 29 | ||
30 | #define __phys_to_pfn(paddr) (paddr >> PAGE_SHIFT) | 30 | #define __phys_to_pfn(paddr) ((paddr) >> PAGE_SHIFT) |
31 | #define __pfn_to_phys(pfn) (pfn << PAGE_SHIFT) | 31 | #define __pfn_to_phys(pfn) ((pfn) << PAGE_SHIFT) |
32 | 32 | ||
33 | extern void create_memmap_holes(struct meminfo *); | 33 | extern void create_memmap_holes(struct meminfo *); |
34 | extern void memtable_init(struct meminfo *); | 34 | extern void memtable_init(struct meminfo *); |