ia64/xen-unstable

changeset 11974:e715360e82f8

[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>
author Ian Campbell <ian.campbell@xensource.com>
date Wed Oct 25 13:58:30 2006 +0100 (2006-10-25)
parents 041507e2754c
children 266aef9b0386
files linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c linux-2.6-xen-sparse/include/xen/xenbus.h unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c	Wed Oct 25 12:30:08 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c	Wed Oct 25 13:58:30 2006 +0100
     1.3 @@ -40,6 +40,7 @@
     1.4  #include <linux/wait.h>
     1.5  #include <linux/fs.h>
     1.6  #include <linux/poll.h>
     1.7 +#include <linux/mutex.h>
     1.8  
     1.9  #include "xenbus_comms.h"
    1.10  
     2.1 --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c	Wed Oct 25 12:30:08 2006 +0100
     2.2 +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c	Wed Oct 25 13:58:30 2006 +0100
     2.3 @@ -42,6 +42,7 @@
     2.4  #include <linux/mm.h>
     2.5  #include <linux/notifier.h>
     2.6  #include <linux/kthread.h>
     2.7 +#include <linux/mutex.h>
     2.8  
     2.9  #include <asm/io.h>
    2.10  #include <asm/page.h>
     3.1 --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c	Wed Oct 25 12:30:08 2006 +0100
     3.2 +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c	Wed Oct 25 13:58:30 2006 +0100
     3.3 @@ -42,6 +42,8 @@
     3.4  #include <linux/fcntl.h>
     3.5  #include <linux/kthread.h>
     3.6  #include <linux/rwsem.h>
     3.7 +#include <linux/module.h>
     3.8 +#include <linux/mutex.h>
     3.9  #include <xen/xenbus.h>
    3.10  #include "xenbus_comms.h"
    3.11  
     4.1 --- a/linux-2.6-xen-sparse/include/xen/xenbus.h	Wed Oct 25 12:30:08 2006 +0100
     4.2 +++ b/linux-2.6-xen-sparse/include/xen/xenbus.h	Wed Oct 25 13:58:30 2006 +0100
     4.3 @@ -38,6 +38,7 @@
     4.4  #include <linux/notifier.h>
     4.5  #include <linux/mutex.h>
     4.6  #include <linux/completion.h>
     4.7 +#include <linux/init.h>
     4.8  #include <xen/interface/xen.h>
     4.9  #include <xen/interface/grant_table.h>
    4.10  #include <xen/interface/io/xenbus.h>
     5.1 --- a/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c	Wed Oct 25 12:30:08 2006 +0100
     5.2 +++ b/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c	Wed Oct 25 13:58:30 2006 +0100
     5.3 @@ -33,6 +33,7 @@
     5.4  #include <asm/irq.h>
     5.5  #include <asm/uaccess.h>
     5.6  #include <asm/hypervisor.h>
     5.7 +#include <asm/pgtable.h>
     5.8  #include <xen/interface/memory.h>
     5.9  #include <xen/features.h>
    5.10