aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/um/os-Linux
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2011-08-18 15:58:07 -0400
committerRichard Weinberger <richard@nod.at>2011-11-02 09:15:38 -0400
commit38b64aed786d59854ecc850ee5ece85b61dd252b (patch)
tree2205e2b20e0554f351890cde063e39d535faa123 /arch/x86/um/os-Linux
parentd0af6cbfa2eb675643cc651114364752e972900b (diff)
um: we need sys/user.h only on i386
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/x86/um/os-Linux')
-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 fa2e5a669e41..0cdbb86b012b 100644
--- a/arch/x86/um/os-Linux/registers.c
+++ b/arch/x86/um/os-Linux/registers.c
@@ -6,7 +6,9 @@
6 6
7#include <errno.h> 7#include <errno.h>
8#include <sys/ptrace.h> 8#include <sys/ptrace.h>
9#ifdef __i386__
9#include <sys/user.h> 10#include <sys/user.h>
11#endif
10#include "longjmp.h" 12#include "longjmp.h"
11#include "sysdep/ptrace_user.h" 13#include "sysdep/ptrace_user.h"
12 14