PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures
[profile/ivi/kernel-adaptation-intel-automotive.git] / include / asm-cris / page.h
index c45bb1e..d19272b 100644 (file)
@@ -60,9 +60,6 @@ typedef struct page *pgtable_t;
 
 #define page_to_phys(page)     __pa((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
 
-/* to align the pointer to the (next) page boundary */
-#define PAGE_ALIGN(addr)       (((addr)+PAGE_SIZE-1)&PAGE_MASK)
-
 #ifndef __ASSEMBLY__
 
 #endif /* __ASSEMBLY__ */