66 lines
2.3 KiB
Diff
66 lines
2.3 KiB
Diff
# HG changeset patch
|
|
# User Ian Campbell <ian.campbell@xensource.com>
|
|
# Date Wed Oct 25 13:58:30 2006 +0100
|
|
# Node ID e715360e82f8d8aa72356fc77df7f4e564a97062
|
|
# parent: 041507e2754cda7a21bb878f703daee47cbe843e
|
|
[LINUX] PV-on-HVM: Directly include headers which are used in various
|
|
files rather than relying on them being included indirectly.
|
|
|
|
This is required because these headers are not pulled in indirectly on
|
|
older kernels.
|
|
|
|
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
|
|
|
|
--- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c Wed Oct 25 12:30:08 2006 +0100
|
|
+++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c Wed Oct 25 13:58:30 2006 +0100
|
|
@@ -40,6 +40,7 @@
|
|
#include <linux/wait.h>
|
|
#include <linux/fs.h>
|
|
#include <linux/poll.h>
|
|
+#include <linux/mutex.h>
|
|
|
|
#include "xenbus_comms.h"
|
|
|
|
--- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c Wed Oct 25 12:30:08 2006 +0100
|
|
+++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c Wed Oct 25 13:58:30 2006 +0100
|
|
@@ -42,6 +42,7 @@
|
|
#include <linux/mm.h>
|
|
#include <linux/notifier.h>
|
|
#include <linux/kthread.h>
|
|
+#include <linux/mutex.h>
|
|
|
|
#include <asm/io.h>
|
|
#include <asm/page.h>
|
|
--- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c Wed Oct 25 12:30:08 2006 +0100
|
|
+++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c Wed Oct 25 13:58:30 2006 +0100
|
|
@@ -42,6 +42,8 @@
|
|
#include <linux/fcntl.h>
|
|
#include <linux/kthread.h>
|
|
#include <linux/rwsem.h>
|
|
+#include <linux/module.h>
|
|
+#include <linux/mutex.h>
|
|
#include <xen/xenbus.h>
|
|
#include "xenbus_comms.h"
|
|
|
|
--- a/linux-2.6-xen-sparse/include/xen/xenbus.h Wed Oct 25 12:30:08 2006 +0100
|
|
+++ b/linux-2.6-xen-sparse/include/xen/xenbus.h Wed Oct 25 13:58:30 2006 +0100
|
|
@@ -38,6 +38,7 @@
|
|
#include <linux/notifier.h>
|
|
#include <linux/mutex.h>
|
|
#include <linux/completion.h>
|
|
+#include <linux/init.h>
|
|
#include <xen/interface/xen.h>
|
|
#include <xen/interface/grant_table.h>
|
|
#include <xen/interface/io/xenbus.h>
|
|
--- a/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c Wed Oct 25 12:30:08 2006 +0100
|
|
+++ b/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c Wed Oct 25 13:58:30 2006 +0100
|
|
@@ -33,6 +33,7 @@
|
|
#include <asm/irq.h>
|
|
#include <asm/uaccess.h>
|
|
#include <asm/hypervisor.h>
|
|
+#include <asm/pgtable.h>
|
|
#include <xen/interface/memory.h>
|
|
#include <xen/features.h>
|
|
|
|
|