]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-m32r/page.h
create twl4030-irq.c
[linux-2.6-omap-h63xx.git] / include / asm-m32r / page.h
index 05d43bbbf940b022b140edb86256526ea338c620..c9333089fe111e5b0e4878bb4c6cd063d6b9271f 100644 (file)
@@ -28,6 +28,7 @@ typedef struct { unsigned long pgd; } pgd_t;
 #define PTE_MASK       PAGE_MASK
 
 typedef struct { unsigned long pgprot; } pgprot_t;
+typedef struct page *pgtable_t;
 
 #define pmd_val(x)     ((x).pmd)
 #define pgd_val(x)     ((x).pgd)
@@ -40,9 +41,6 @@ typedef struct { unsigned long pgprot; } pgprot_t;
 
 #endif /* !__ASSEMBLY__ */
 
-/* to align the pointer to the (next) page boundary */
-#define PAGE_ALIGN(addr)       (((addr) + PAGE_SIZE - 1) & PAGE_MASK)
-
 /*
  * This handles the memory map.. We could make this a config
  * option, but too many people screw it up, and too few need