Commit f3873b8c authored by Paolo 'Blaisorblade' Giarrusso's avatar Paolo 'Blaisorblade' Giarrusso Committed by Chris Wright

[PATCH] uml: remove warnings added by previous -stable patch

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: default avatarPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
parent f897855b
#include <errno.h> #include <errno.h>
#include <sys/syscall.h>
#include <unistd.h>
#include <linux/unistd.h> #include <linux/unistd.h>
#include "sysdep/tls.h" #include "sysdep/tls.h"
#include "user_util.h" #include "user_util.h"
......
#include <errno.h> #include <errno.h>
#include <sys/ptrace.h> #include <sys/ptrace.h>
#include <sys/syscall.h>
#include <asm/ldt.h> #include <asm/ldt.h>
#include <unistd.h>
#include "sysdep/tls.h" #include "sysdep/tls.h"
#include "uml-config.h" #include "uml-config.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment