summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-01-18 23:59:07 -0200
committerRusty Russell <rusty@rustcorp.com.au>2008-01-30 22:50:19 +1100
commitca94f2bdd1be626361fcfbd474d6b8823ed39f74 (patch)
tree9b7f82ce7c2c20a45e1bfb611153d05ac7af2baf
parent382ac6b3fbc0ea6a5697fc6caaf7e7de12fa8b96 (diff)
downloadblackbird-op-linux-ca94f2bdd1be626361fcfbd474d6b8823ed39f74.tar.gz
blackbird-op-linux-ca94f2bdd1be626361fcfbd474d6b8823ed39f74.zip
lguest: Use explicit includes rateher than indirect
explicitly use ktime.h include explicitly use hrtimer.h include explicitly use sched.h include This patch adds headers explicitly to lguest sources file, to avoid depending on them being included somewhere else. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r--drivers/lguest/hypercalls.c1
-rw-r--r--drivers/lguest/lg.h1
-rw-r--r--drivers/lguest/lguest_user.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/lguest/hypercalls.c b/drivers/lguest/hypercalls.c
index 32666d0d956a..0f2cb4fd7c69 100644
--- a/drivers/lguest/hypercalls.c
+++ b/drivers/lguest/hypercalls.c
@@ -23,6 +23,7 @@
#include <linux/uaccess.h>
#include <linux/syscalls.h>
#include <linux/mm.h>
+#include <linux/ktime.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include "lg.h"
diff --git a/drivers/lguest/lg.h b/drivers/lguest/lg.h
index b75ce3b17afe..2337e1a06f02 100644
--- a/drivers/lguest/lg.h
+++ b/drivers/lguest/lg.h
@@ -8,6 +8,7 @@
#include <linux/lguest.h>
#include <linux/lguest_launcher.h>
#include <linux/wait.h>
+#include <linux/hrtimer.h>
#include <linux/err.h>
#include <asm/semaphore.h>
diff --git a/drivers/lguest/lguest_user.c b/drivers/lguest/lguest_user.c
index a87fca678c6b..85d42d3d01a9 100644
--- a/drivers/lguest/lguest_user.c
+++ b/drivers/lguest/lguest_user.c
@@ -6,6 +6,7 @@
#include <linux/uaccess.h>
#include <linux/miscdevice.h>
#include <linux/fs.h>
+#include <linux/sched.h>
#include "lg.h"
/*L:055 When something happens, the Waker process needs a way to stop the
OpenPOWER on IntegriCloud