]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sparc/page_64.h
PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures
[linux-2.6-omap-h63xx.git] / include / asm-sparc / page_64.h
index a8a2bba032c1a158704279383b0d59cfac0877fb..b579b910ef5123b24c1fc02fc92c1d4520e6ea9e 100644 (file)
@@ -106,9 +106,6 @@ typedef struct page *pgtable_t;
 
 #endif /* !(__ASSEMBLY__) */
 
-/* to align the pointer to the (next) page boundary */
-#define PAGE_ALIGN(addr)       (((addr)+PAGE_SIZE-1)&PAGE_MASK)
-
 /* We used to stick this into a hard-coded global register (%g4)
  * but that does not make sense anymore.
  */