X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-arm%2Fmach%2Fmap.h;h=b338936bde4f4f83d9948323d155fc91d9ade1bf;hb=16e85d1a3182009ff81d71aaf65a2808bd395a6b;hp=0619522bd92684e599c349e11809ac62403bc349;hpb=9dfb7808fb05643b0d06df7411b94d9546696bf1;p=powerpc.git diff --git a/include/asm-arm/mach/map.h b/include/asm-arm/mach/map.h index 0619522bd9..b338936bde 100644 --- a/include/asm-arm/mach/map.h +++ b/include/asm-arm/mach/map.h @@ -27,8 +27,8 @@ struct meminfo; #define MT_ROM 6 #define MT_IXP2000_DEVICE 7 -#define __phys_to_pfn(paddr) (paddr >> PAGE_SHIFT) -#define __pfn_to_phys(pfn) (pfn << PAGE_SHIFT) +#define __phys_to_pfn(paddr) ((paddr) >> PAGE_SHIFT) +#define __pfn_to_phys(pfn) ((pfn) << PAGE_SHIFT) extern void create_memmap_holes(struct meminfo *); extern void memtable_init(struct meminfo *);