Commit:     ca94f2bdd1be626361fcfbd474d6b8823ed39f74
Parent:     382ac6b3fbc0ea6a5697fc6caaf7e7de12fa8b96
Author:     Glauber de Oliveira Costa <[EMAIL PROTECTED]>
AuthorDate: Fri Jan 18 23:59:07 2008 -0200
Committer:  Rusty Russell <[EMAIL PROTECTED]>
CommitDate: Wed Jan 30 22:50:19 2008 +1100

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Rusty Russell <[EMAIL PROTECTED]>
 drivers/lguest/hypercalls.c  |    1 +
 drivers/lguest/lg.h          |    1 +
 drivers/lguest/lguest_user.c |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/lguest/hypercalls.c b/drivers/lguest/hypercalls.c
index 32666d0..0f2cb4f 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 b75ce3b..2337e1a 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 a87fca6..85d42d3 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
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to