]> err.no Git - linux-2.6/commitdiff
lguest: Use explicit includes rateher than indirect
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Sat, 19 Jan 2008 01:59:07 +0000 (23:59 -0200)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 30 Jan 2008 11:50:19 +0000 (22:50 +1100)
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>
drivers/lguest/hypercalls.c
drivers/lguest/lg.h
drivers/lguest/lguest_user.c

index 32666d0d956a23a3ed034ac9788c9fc043ffc1ba..0f2cb4fd7c6980448e01770476e262d6ea708d70 100644 (file)
@@ -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"
index b75ce3b17afe167ab1b2a1c13a8ccfeab10acb8f..2337e1a06f023ffd226c3ad9748ca3104c41d9e4 100644 (file)
@@ -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>
 
index a87fca678c6b9a1160ffbd6e287ff30d3be772ed..85d42d3d01a9a9bbeb739ce422271848cd4be3ff 100644 (file)
@@ -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