summaryrefslogtreecommitdiff
path: root/include/asm-arm/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/page.h')
-rw-r--r--include/asm-arm/page.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/asm-arm/page.h b/include/asm-arm/page.h
index 7e85db77d99b..c86f68ee6511 100644
--- a/include/asm-arm/page.h
+++ b/include/asm-arm/page.h
@@ -10,9 +10,6 @@
#ifndef _ASMARM_PAGE_H
#define _ASMARM_PAGE_H
-
-#ifdef __KERNEL__
-
/* PAGE_SHIFT determines the page size */
#define PAGE_SHIFT 12
#define PAGE_SIZE (1UL << PAGE_SHIFT)
@@ -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