summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/user.h
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2006-09-06 18:00:22 +0200
committerRalf Baechle <ralf@linux-mips.org>2006-09-27 14:37:40 +0200
commit8f9a2b324644d3f8c233287f0a7764d61655cda4 (patch)
treec35f35bb0e5c4999237f4b954d6fe393985dfad8 /include/asm-mips/user.h
parent[MIPS] Do not lose upper 32-bit on MIPS32 with 64-bit addresses in __pte(). (diff)
downloadlinux-8f9a2b324644d3f8c233287f0a7764d61655cda4.tar.xz
linux-8f9a2b324644d3f8c233287f0a7764d61655cda4.zip
[MIPS] Fix errors detected by "make headers_check"
* export asm/sgidefs.h * include asm/isadep.h only if in kernel * do not export contents of asm/timex.h and asm/user.h Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to '')
-rw-r--r--include/asm-mips/user.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-mips/user.h b/include/asm-mips/user.h
index 89bf8b4cab3c..61f2a093b91b 100644
--- a/include/asm-mips/user.h
+++ b/include/asm-mips/user.h
@@ -8,6 +8,8 @@
#ifndef _ASM_USER_H
#define _ASM_USER_H
+#ifdef __KERNEL__
+
#include <asm/page.h>
#include <asm/reg.h>
@@ -55,4 +57,6 @@ struct user {
#define HOST_DATA_START_ADDR (u.start_data)
#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)
+#endif /* __KERNEL__ */
+
#endif /* _ASM_USER_H */