WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [linux-2.6.18-xen] [LINUX] drivers: Add missing includes

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] [LINUX] drivers: Add missing includes
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 16 Aug 2007 07:40:42 -0700
Delivery-date: Thu, 16 Aug 2007 07:43:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] [LINUX] drivers: Add missing includes, Xen patchbot-linux-2.6.18-xen <=