Commit 56e640de authored by Christian Dietrich's avatar Christian Dietrich Committed by Benjamin Herrenschmidt

powerpc: Removing undead ifdef __KERNEL__

The __KERNEL__ ifdef isn't necessary at this point, because it is
checked in an outer ifdef level already and has no effect here.
Signed-off-by: default avatarChristian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent d72e063b
...@@ -122,7 +122,6 @@ extern struct task_struct *last_task_used_spe; ...@@ -122,7 +122,6 @@ extern struct task_struct *last_task_used_spe;
TASK_UNMAPPED_BASE_USER32 : TASK_UNMAPPED_BASE_USER64 ) TASK_UNMAPPED_BASE_USER32 : TASK_UNMAPPED_BASE_USER64 )
#endif #endif
#ifdef __KERNEL__
#ifdef __powerpc64__ #ifdef __powerpc64__
#define STACK_TOP_USER64 TASK_SIZE_USER64 #define STACK_TOP_USER64 TASK_SIZE_USER64
...@@ -139,7 +138,6 @@ extern struct task_struct *last_task_used_spe; ...@@ -139,7 +138,6 @@ extern struct task_struct *last_task_used_spe;
#define STACK_TOP_MAX STACK_TOP #define STACK_TOP_MAX STACK_TOP
#endif /* __powerpc64__ */ #endif /* __powerpc64__ */
#endif /* __KERNEL__ */
typedef struct { typedef struct {
unsigned long seg; unsigned long seg;
......
...@@ -116,9 +116,7 @@ struct vdso_data { ...@@ -116,9 +116,7 @@ struct vdso_data {
#endif /* CONFIG_PPC64 */ #endif /* CONFIG_PPC64 */
#ifdef __KERNEL__
extern struct vdso_data *vdso_data; extern struct vdso_data *vdso_data;
#endif
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment