diff options
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/page.h | 3 | ||||
-rw-r--r-- | include/asm-powerpc/page_32.h | 2 | ||||
-rw-r--r-- | include/asm-powerpc/page_64.h | 2 | ||||
-rw-r--r-- | include/asm-powerpc/user.h | 4 |
4 files changed, 0 insertions, 11 deletions
diff --git a/include/asm-powerpc/page.h b/include/asm-powerpc/page.h index 236a9210e5fc..61e3725bbd37 100644 --- a/include/asm-powerpc/page.h +++ b/include/asm-powerpc/page.h | |||
@@ -10,7 +10,6 @@ | |||
10 | * 2 of the License, or (at your option) any later version. | 10 | * 2 of the License, or (at your option) any later version. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #ifdef __KERNEL__ | ||
14 | #include <asm/asm-compat.h> | 13 | #include <asm/asm-compat.h> |
15 | #include <asm/kdump.h> | 14 | #include <asm/kdump.h> |
16 | 15 | ||
@@ -194,6 +193,4 @@ struct vm_area_struct; | |||
194 | #include <asm-generic/memory_model.h> | 193 | #include <asm-generic/memory_model.h> |
195 | #endif /* __ASSEMBLY__ */ | 194 | #endif /* __ASSEMBLY__ */ |
196 | 195 | ||
197 | #endif /* __KERNEL__ */ | ||
198 | |||
199 | #endif /* _ASM_POWERPC_PAGE_H */ | 196 | #endif /* _ASM_POWERPC_PAGE_H */ |
diff --git a/include/asm-powerpc/page_32.h b/include/asm-powerpc/page_32.h index 17110aff26e7..65ea19eec956 100644 --- a/include/asm-powerpc/page_32.h +++ b/include/asm-powerpc/page_32.h | |||
@@ -1,6 +1,5 @@ | |||
1 | #ifndef _ASM_POWERPC_PAGE_32_H | 1 | #ifndef _ASM_POWERPC_PAGE_32_H |
2 | #define _ASM_POWERPC_PAGE_32_H | 2 | #define _ASM_POWERPC_PAGE_32_H |
3 | #ifdef __KERNEL__ | ||
4 | 3 | ||
5 | #define VM_DATA_DEFAULT_FLAGS VM_DATA_DEFAULT_FLAGS32 | 4 | #define VM_DATA_DEFAULT_FLAGS VM_DATA_DEFAULT_FLAGS32 |
6 | 5 | ||
@@ -32,5 +31,4 @@ extern void copy_page(void *to, void *from); | |||
32 | 31 | ||
33 | #endif /* __ASSEMBLY__ */ | 32 | #endif /* __ASSEMBLY__ */ |
34 | 33 | ||
35 | #endif /* __KERNEL__ */ | ||
36 | #endif /* _ASM_POWERPC_PAGE_32_H */ | 34 | #endif /* _ASM_POWERPC_PAGE_32_H */ |
diff --git a/include/asm-powerpc/page_64.h b/include/asm-powerpc/page_64.h index 4ee82c61e4d7..67834eae5702 100644 --- a/include/asm-powerpc/page_64.h +++ b/include/asm-powerpc/page_64.h | |||
@@ -1,6 +1,5 @@ | |||
1 | #ifndef _ASM_POWERPC_PAGE_64_H | 1 | #ifndef _ASM_POWERPC_PAGE_64_H |
2 | #define _ASM_POWERPC_PAGE_64_H | 2 | #define _ASM_POWERPC_PAGE_64_H |
3 | #ifdef __KERNEL__ | ||
4 | 3 | ||
5 | /* | 4 | /* |
6 | * Copyright (C) 2001 PPC64 Team, IBM Corp | 5 | * Copyright (C) 2001 PPC64 Team, IBM Corp |
@@ -183,5 +182,4 @@ do { \ | |||
183 | 182 | ||
184 | #include <asm-generic/page.h> | 183 | #include <asm-generic/page.h> |
185 | 184 | ||
186 | #endif /* __KERNEL__ */ | ||
187 | #endif /* _ASM_POWERPC_PAGE_64_H */ | 185 | #endif /* _ASM_POWERPC_PAGE_64_H */ |
diff --git a/include/asm-powerpc/user.h b/include/asm-powerpc/user.h index e59ade4b3dfb..ba8dd4c12d96 100644 --- a/include/asm-powerpc/user.h +++ b/include/asm-powerpc/user.h | |||
@@ -1,8 +1,6 @@ | |||
1 | #ifndef _ASM_POWERPC_USER_H | 1 | #ifndef _ASM_POWERPC_USER_H |
2 | #define _ASM_POWERPC_USER_H | 2 | #define _ASM_POWERPC_USER_H |
3 | 3 | ||
4 | #ifdef __KERNEL__ | ||
5 | |||
6 | #include <asm/ptrace.h> | 4 | #include <asm/ptrace.h> |
7 | #include <asm/page.h> | 5 | #include <asm/page.h> |
8 | 6 | ||
@@ -50,6 +48,4 @@ struct user { | |||
50 | #define HOST_TEXT_START_ADDR (u.start_code) | 48 | #define HOST_TEXT_START_ADDR (u.start_code) |
51 | #define HOST_DATA_START_ADDR (u.start_data) | 49 | #define HOST_DATA_START_ADDR (u.start_data) |
52 | #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) | 50 | #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) |
53 | |||
54 | #endif /* __KERNEL__ */ | ||
55 | #endif /* _ASM_POWERPC_USER_H */ | 51 | #endif /* _ASM_POWERPC_USER_H */ |