aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-cris/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-cris/page.h')
-rw-r--r--include/asm-cris/page.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/asm-cris/page.h b/include/asm-cris/page.h
index b84353ef6998..c45bb1ef397c 100644
--- a/include/asm-cris/page.h
+++ b/include/asm-cris/page.h
@@ -1,8 +1,6 @@
1#ifndef _CRIS_PAGE_H 1#ifndef _CRIS_PAGE_H
2#define _CRIS_PAGE_H 2#define _CRIS_PAGE_H
3 3
4#ifdef __KERNEL__
5
6#include <asm/arch/page.h> 4#include <asm/arch/page.h>
7#include <linux/const.h> 5#include <linux/const.h>
8 6
@@ -28,6 +26,7 @@
28typedef struct { unsigned long pte; } pte_t; 26typedef struct { unsigned long pte; } pte_t;
29typedef struct { unsigned long pgd; } pgd_t; 27typedef struct { unsigned long pgd; } pgd_t;
30typedef struct { unsigned long pgprot; } pgprot_t; 28typedef struct { unsigned long pgprot; } pgprot_t;
29typedef struct page *pgtable_t;
31#endif 30#endif
32 31
33#define pte_val(x) ((x).pte) 32#define pte_val(x) ((x).pte)
@@ -74,7 +73,5 @@ typedef struct { unsigned long pgprot; } pgprot_t;
74#include <asm-generic/memory_model.h> 73#include <asm-generic/memory_model.h>
75#include <asm-generic/page.h> 74#include <asm-generic/page.h>
76 75
77#endif /* __KERNEL__ */
78
79#endif /* _CRIS_PAGE_H */ 76#endif /* _CRIS_PAGE_H */
80 77