]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/page.h
plat-orion: make orion_nand available for all Orion families
[linux-2.6-omap-h63xx.git] / include / asm-arm / page.h
index af9c3fe7588c4c1b3b0808ae59637fecac6a397c..c86f68ee65118b6c7cdd2fec34ee7509abbaae46 100644 (file)
 #ifndef _ASMARM_PAGE_H
 #define _ASMARM_PAGE_H
 
-
 /* PAGE_SHIFT determines the page size */
 #define PAGE_SHIFT             12
 #define PAGE_SIZE              (1UL << PAGE_SHIFT)
 #define PAGE_MASK              (~(PAGE_SIZE-1))
 
-#ifdef __KERNEL__
-
 /* to align the pointer to the (next) page boundary */
 #define PAGE_ALIGN(addr)       (((addr)+PAGE_SIZE-1)&PAGE_MASK)
 
@@ -174,6 +171,8 @@ typedef unsigned long pgprot_t;
 
 #endif /* STRICT_MM_TYPECHECKS */
 
+typedef struct page *pgtable_t;
+
 #endif /* CONFIG_MMU */
 
 #include <asm/memory.h>
@@ -192,6 +191,4 @@ typedef unsigned long pgprot_t;
 
 #include <asm-generic/page.h>
 
-#endif /* __KERNEL__ */
-
 #endif