aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc/page.h')
-rw-r--r--include/asm-sparc/page.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/asm-sparc/page.h b/include/asm-sparc/page.h
index ff57648eb8f8..39ccf2da297c 100644
--- a/include/asm-sparc/page.h
+++ b/include/asm-sparc/page.h
@@ -8,8 +8,6 @@
8#ifndef _SPARC_PAGE_H 8#ifndef _SPARC_PAGE_H
9#define _SPARC_PAGE_H 9#define _SPARC_PAGE_H
10 10
11#ifdef __KERNEL__
12
13#ifdef CONFIG_SUN4 11#ifdef CONFIG_SUN4
14#define PAGE_SHIFT 13 12#define PAGE_SHIFT 13
15#else 13#else
@@ -125,6 +123,8 @@ typedef unsigned long iopgprot_t;
125 123
126#endif 124#endif
127 125
126typedef struct page *pgtable_t;
127
128extern unsigned long sparc_unmapped_base; 128extern unsigned long sparc_unmapped_base;
129 129
130BTFIXUPDEF_SETHI(sparc_unmapped_base) 130BTFIXUPDEF_SETHI(sparc_unmapped_base)
@@ -163,6 +163,4 @@ extern unsigned long pfn_base;
163#include <asm-generic/memory_model.h> 163#include <asm-generic/memory_model.h>
164#include <asm-generic/page.h> 164#include <asm-generic/page.h>
165 165
166#endif /* __KERNEL__ */
167
168#endif /* _SPARC_PAGE_H */ 166#endif /* _SPARC_PAGE_H */