]> git.ipfire.org Git - people/arne_f/kernel.git/commitdiff
[PATCH] uml: remove warnings added by previous -stable patch
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Tue, 17 Oct 2006 15:05:31 +0000 (17:05 +0200)
committerChris Wright <chrisw@sous-sol.org>
Sat, 4 Nov 2006 01:33:48 +0000 (17:33 -0800)
Add needed includes for syscall() function, also to remove warnings spit out by
GCC; they were added by previous -stable patch, and at least on my system
(Ubuntu x86-64) these warnings do show up.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
arch/um/os-Linux/sys-i386/tls.c
arch/um/os-Linux/tls.c

index 64f547f49fbaf71c47c38e06e60104988288a016..8dc6a49cbef1118043dd35625961ad1ef3c360c4 100644 (file)
@@ -1,4 +1,6 @@
 #include <errno.h>
+#include <sys/syscall.h>
+#include <unistd.h>
 #include <linux/unistd.h>
 #include "sysdep/tls.h"
 #include "user_util.h"
index 297f263167fe9cb5f6fe6ec747a06efdfc0a50bd..3385784b905f3f3ff14fadfa6760c84f3db74235 100644 (file)
@@ -1,6 +1,8 @@
 #include <errno.h>
 #include <sys/ptrace.h>
+#include <sys/syscall.h>
 #include <asm/ldt.h>
+#include <unistd.h>
 #include "sysdep/tls.h"
 #include "uml-config.h"