From: Ingo Molnar Date: Wed, 30 Jan 2008 12:32:43 +0000 (+0100) Subject: x86: page.h: move and unify types for pagetable entry, #6 X-Git-Tag: v2.6.25-rc1~1143^2~402 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6724a1d2fc6b40d55f232b8dacc12a915878bdc7;p=karo-tx-linux.git x86: page.h: move and unify types for pagetable entry, #6 based on: Subject: x86: page.h: move and unify types for pagetable entry From: Jeremy Fitzhardinge Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/include/asm-x86/page.h b/include/asm-x86/page.h index 00353eb5666d..ef393c3df902 100644 --- a/include/asm-x86/page.h +++ b/include/asm-x86/page.h @@ -22,7 +22,7 @@ /* to align the pointer to the (next) page boundary */ #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) -#define __PHYSICAL_MASK ((_AC(1,UL) << __PHYSICAL_MASK_SHIFT) - 1) +#define __PHYSICAL_MASK _AT(phys_addr_t, (_AC(1,ULL) << __PHYSICAL_MASK_SHIFT) - 1) #define __VIRTUAL_MASK ((_AC(1,UL) << __VIRTUAL_MASK_SHIFT) - 1) #ifndef __ASSEMBLY__