summaryrefslogtreecommitdiffstats
path: root/arch/um/os-Linux/sys-i386
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2011-08-18 21:01:29 +0200
committerRichard Weinberger <richard@nod.at>2011-11-02 14:14:44 +0100
commit078073a3d48ce7c140f1538d249da3ac545065a6 (patch)
tree064e0baa9b1a6d97d5dbbbfae388a297303fba65 /arch/um/os-Linux/sys-i386
parentum: take user_constants.h to include/generated (diff)
downloadlinux-078073a3d48ce7c140f1538d249da3ac545065a6.tar.xz
linux-078073a3d48ce7c140f1538d249da3ac545065a6.zip
um: -include user.h for USER_OBJ, trim includes
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/os-Linux/sys-i386')
-rw-r--r--arch/um/os-Linux/sys-i386/registers.c2
-rw-r--r--arch/um/os-Linux/sys-i386/task_size.c1
-rw-r--r--arch/um/os-Linux/sys-i386/tls.c1
3 files changed, 0 insertions, 4 deletions
diff --git a/arch/um/os-Linux/sys-i386/registers.c b/arch/um/os-Linux/sys-i386/registers.c
index 229f7a53d8da..913d811b38db 100644
--- a/arch/um/os-Linux/sys-i386/registers.c
+++ b/arch/um/os-Linux/sys-i386/registers.c
@@ -7,9 +7,7 @@
#include <errno.h>
#include <sys/ptrace.h>
#include <sys/user.h>
-#include "kern_constants.h"
#include "longjmp.h"
-#include "user.h"
#include "sysdep/ptrace_user.h"
int save_fp_registers(int pid, unsigned long *fp_regs)
diff --git a/arch/um/os-Linux/sys-i386/task_size.c b/arch/um/os-Linux/sys-i386/task_size.c
index be04c1e183bf..4ce09b8e99c9 100644
--- a/arch/um/os-Linux/sys-i386/task_size.c
+++ b/arch/um/os-Linux/sys-i386/task_size.c
@@ -3,7 +3,6 @@
#include <signal.h>
#include <sys/mman.h>
#include "longjmp.h"
-#include "kern_constants.h"
static jmp_buf buf;
diff --git a/arch/um/os-Linux/sys-i386/tls.c b/arch/um/os-Linux/sys-i386/tls.c
index 32ed41ec1a3d..281e83ecce3d 100644
--- a/arch/um/os-Linux/sys-i386/tls.c
+++ b/arch/um/os-Linux/sys-i386/tls.c
@@ -5,7 +5,6 @@
#include <unistd.h>
#include "sysdep/tls.h"
-#include "user.h"
/* Checks whether host supports TLS, and sets *tls_min according to the value
* valid on the host.