diff options
Diffstat (limited to 'include/asm-sparc')
-rw-r--r-- | include/asm-sparc/Kbuild | 7 | ||||
-rw-r--r-- | include/asm-sparc/page.h | 8 |
2 files changed, 4 insertions, 11 deletions
diff --git a/include/asm-sparc/Kbuild b/include/asm-sparc/Kbuild index b22b67a64ecc..c6a55cf0d337 100644 --- a/include/asm-sparc/Kbuild +++ b/include/asm-sparc/Kbuild | |||
@@ -2,20 +2,13 @@ include include/asm-generic/Kbuild.asm | |||
2 | 2 | ||
3 | header-y += apc.h | 3 | header-y += apc.h |
4 | header-y += asi.h | 4 | header-y += asi.h |
5 | header-y += auxio.h | ||
6 | header-y += bpp.h | 5 | header-y += bpp.h |
7 | header-y += head.h | ||
8 | header-y += ipc.h | ||
9 | header-y += jsflash.h | 6 | header-y += jsflash.h |
10 | header-y += openpromio.h | 7 | header-y += openpromio.h |
11 | header-y += pbm.h | ||
12 | header-y += pconf.h | 8 | header-y += pconf.h |
13 | header-y += pgtsun4.h | ||
14 | header-y += reg.h | 9 | header-y += reg.h |
15 | header-y += traps.h | 10 | header-y += traps.h |
16 | header-y += turbosparc.h | ||
17 | header-y += vfc_ioctls.h | 11 | header-y += vfc_ioctls.h |
18 | header-y += winmacro.h | ||
19 | 12 | ||
20 | unifdef-y += fbio.h | 13 | unifdef-y += fbio.h |
21 | unifdef-y += perfctr.h | 14 | unifdef-y += perfctr.h |
diff --git a/include/asm-sparc/page.h b/include/asm-sparc/page.h index 5bab8a7c25ce..ff57648eb8f8 100644 --- a/include/asm-sparc/page.h +++ b/include/asm-sparc/page.h | |||
@@ -8,6 +8,8 @@ | |||
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 | |||
11 | #ifdef CONFIG_SUN4 | 13 | #ifdef CONFIG_SUN4 |
12 | #define PAGE_SHIFT 13 | 14 | #define PAGE_SHIFT 13 |
13 | #else | 15 | #else |
@@ -21,8 +23,6 @@ | |||
21 | #endif | 23 | #endif |
22 | #define PAGE_MASK (~(PAGE_SIZE-1)) | 24 | #define PAGE_MASK (~(PAGE_SIZE-1)) |
23 | 25 | ||
24 | #ifdef __KERNEL__ | ||
25 | |||
26 | #include <asm/btfixup.h> | 26 | #include <asm/btfixup.h> |
27 | 27 | ||
28 | #ifndef __ASSEMBLY__ | 28 | #ifndef __ASSEMBLY__ |
@@ -160,9 +160,9 @@ extern unsigned long pfn_base; | |||
160 | #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ | 160 | #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ |
161 | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) | 161 | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) |
162 | 162 | ||
163 | #endif /* __KERNEL__ */ | ||
164 | |||
165 | #include <asm-generic/memory_model.h> | 163 | #include <asm-generic/memory_model.h> |
166 | #include <asm-generic/page.h> | 164 | #include <asm-generic/page.h> |
167 | 165 | ||
166 | #endif /* __KERNEL__ */ | ||
167 | |||
168 | #endif /* _SPARC_PAGE_H */ | 168 | #endif /* _SPARC_PAGE_H */ |