diff options
-rw-r--r-- | include/asm-x86/page.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/page.h b/include/asm-x86/page.h index 00353eb..ef393c3 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__ |