[PATCH] uml: include tidying

In order to get the __NR_* constants, we need sys/syscall.h.
linux/unistd.h works as well since it includes syscall.h, however syscall.h
is more parsimonious. We were inconsistent in this, and this patch adds
syscall.h includes where necessary and removes linux/unistd.h includes
where they are not needed.

asm/unistd.h also includes the __NR_* constants, but these are not the
glibc-sanctioned ones, so this also removes one such inclusion.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Jeff Dike and committed by Linus Torvalds 1f6f6164 53b17332

+2 -3
-1
arch/um/os-Linux/process.c
··· 7 7 #include <stdio.h> 8 8 #include <errno.h> 9 9 #include <signal.h> 10 - #include <linux/unistd.h> 11 10 #include <sys/mman.h> 12 11 #include <sys/wait.h> 13 12 #include <sys/mman.h>
+1 -1
arch/um/os-Linux/skas/process.c
··· 14 14 #include <sys/mman.h> 15 15 #include <sys/user.h> 16 16 #include <sys/time.h> 17 - #include <asm/unistd.h> 17 + #include <sys/syscall.h> 18 18 #include <asm/types.h> 19 19 #include "user.h" 20 20 #include "sysdep/ptrace.h"
+1 -1
arch/um/os-Linux/tls.c
··· 1 1 #include <errno.h> 2 + #include <unistd.h> 2 3 #include <sys/ptrace.h> 3 4 #include <sys/syscall.h> 4 - #include <unistd.h> 5 5 #include <asm/ldt.h> 6 6 #include "sysdep/tls.h" 7 7 #include "uml-config.h"