[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] [LINUX] drivers: Add missing includes
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Date 1187019636 -3600 # Node ID 5027cbb9e3ebc5e00c7c4419370bce7a33dadb82 # Parent 4b6ffd020eb2a5212e575ce5464a3bbdb7974520 [LINUX] drivers: Add missing includes This patch adds missing includes that currently work through indirect inclusions. This cannot be relied on and indeed does break on older kernels (2.4 with PV-on-HVM). Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> --- drivers/xen/core/reboot.c | 3 +++ drivers/xen/xenbus/xenbus_client.c | 1 + drivers/xen/xenbus/xenbus_comms.c | 1 + drivers/xen/xenbus/xenbus_probe.c | 1 + 4 files changed, 6 insertions(+) diff -r 4b6ffd020eb2 -r 5027cbb9e3eb drivers/xen/core/reboot.c --- a/drivers/xen/core/reboot.c Mon Aug 13 16:40:07 2007 +0100 +++ b/drivers/xen/core/reboot.c Mon Aug 13 16:40:36 2007 +0100 @@ -7,7 +7,10 @@ #include <linux/sysrq.h> #include <asm/hypervisor.h> #include <xen/xenbus.h> +#include <linux/kmod.h> #include <linux/kthread.h> +#include <linux/slab.h> +#include <linux/workqueue.h> #ifdef HAVE_XEN_PLATFORM_COMPAT_H #include <xen/platform-compat.h> diff -r 4b6ffd020eb2 -r 5027cbb9e3eb drivers/xen/xenbus/xenbus_client.c --- a/drivers/xen/xenbus/xenbus_client.c Mon Aug 13 16:40:07 2007 +0100 +++ b/drivers/xen/xenbus/xenbus_client.c Mon Aug 13 16:40:36 2007 +0100 @@ -30,6 +30,7 @@ * IN THE SOFTWARE. */ +#include <linux/slab.h> #include <xen/evtchn.h> #include <xen/gnttab.h> #include <xen/xenbus.h> diff -r 4b6ffd020eb2 -r 5027cbb9e3eb drivers/xen/xenbus/xenbus_comms.c --- a/drivers/xen/xenbus/xenbus_comms.c Mon Aug 13 16:40:07 2007 +0100 +++ b/drivers/xen/xenbus/xenbus_comms.c Mon Aug 13 16:40:36 2007 +0100 @@ -35,6 +35,7 @@ #include <linux/sched.h> #include <linux/err.h> #include <linux/ptrace.h> +#include <linux/workqueue.h> #include <xen/evtchn.h> #include <xen/xenbus.h> diff -r 4b6ffd020eb2 -r 5027cbb9e3eb drivers/xen/xenbus/xenbus_probe.c --- a/drivers/xen/xenbus/xenbus_probe.c Mon Aug 13 16:40:07 2007 +0100 +++ b/drivers/xen/xenbus/xenbus_probe.c Mon Aug 13 16:40:36 2007 +0100 @@ -43,6 +43,7 @@ #include <linux/mm.h> #include <linux/notifier.h> #include <linux/mutex.h> +#include <linux/module.h> #include <asm/io.h> #include <asm/page.h> _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |