summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2011-08-18 21:58:07 +0200
committerRichard Weinberger <richard@nod.at>2011-11-02 14:15:38 +0100
commit38b64aed786d59854ecc850ee5ece85b61dd252b (patch)
tree2205e2b20e0554f351890cde063e39d535faa123 /arch
parentd0af6cbfa2eb675643cc651114364752e972900b (diff)
downloadlinux-3.10-38b64aed786d59854ecc850ee5ece85b61dd252b.tar.gz
linux-3.10-38b64aed786d59854ecc850ee5ece85b61dd252b.tar.bz2
linux-3.10-38b64aed786d59854ecc850ee5ece85b61dd252b.zip
um: we need sys/user.h only on i386
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/um/os-Linux/registers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/um/os-Linux/registers.c b/arch/x86/um/os-Linux/registers.c
index fa2e5a669e4..0cdbb86b012 100644
--- a/arch/x86/um/os-Linux/registers.c
+++ b/arch/x86/um/os-Linux/registers.c
@@ -6,7 +6,9 @@
#include <errno.h>
#include <sys/ptrace.h>
+#ifdef __i386__
#include <sys/user.h>
+#endif
#include "longjmp.h"
#include "sysdep/ptrace_user.h"