summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/user.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc/user.h')
-rw-r--r--include/asm-ppc/user.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-ppc/user.h b/include/asm-ppc/user.h
index e3bd611b3..d662b2151 100644
--- a/include/asm-ppc/user.h
+++ b/include/asm-ppc/user.h
@@ -1,3 +1,4 @@
+#ifdef __KERNEL__
#ifndef _PPC_USER_H
#define _PPC_USER_H
@@ -50,3 +51,4 @@ struct user {
#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)
#endif /* _PPC_USER_H */
+#endif /* __KERNEL__ */