xen: Add export.h for THIS_MODULE/EXPORT_SYMBOL to various xen users.
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 10 Jul 2011 17:22:07 +0000 (13:22 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:32:11 +0000 (19:32 -0400)
Things like THIS_MODULE and EXPORT_SYMBOL were simply everywhere
because module.h was also everywhere.  But we are fixing the latter.
So we need to call out the real users in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/xen/manage.c
drivers/xen/swiotlb-xen.c
drivers/xen/xenbus/xenbus_client.c
drivers/xen/xenbus/xenbus_probe_backend.c
include/xen/xenbus.h

index 0b5366b5be2017dc90aab1c6ed869908556fd954..ce4fa0831860175dedd4b53d3cd22e168474f7b9 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/stop_machine.h>
 #include <linux/freezer.h>
 #include <linux/syscore_ops.h>
+#include <linux/export.h>
 
 #include <xen/xen.h>
 #include <xen/xenbus.h>
index c984768d98ca95d430b88d4af537183600ce4c53..8e964b91c447b117b7d4d17731201254a79365d5 100644 (file)
@@ -35,6 +35,7 @@
 
 #include <linux/bootmem.h>
 #include <linux/dma-mapping.h>
+#include <linux/export.h>
 #include <xen/swiotlb-xen.h>
 #include <xen/page.h>
 #include <xen/xen-ops.h>
index cdacf923e0730d42c05b46befd97494d6be2a550..b63540dd4ef547ac2bd73eb9c7997a4b1d92757a 100644 (file)
@@ -33,6 +33,7 @@
 #include <linux/slab.h>
 #include <linux/types.h>
 #include <linux/vmalloc.h>
+#include <linux/export.h>
 #include <asm/xen/hypervisor.h>
 #include <xen/interface/xen.h>
 #include <xen/interface/event_channel.h>
index 32417b5064fd71dc760d284ed992047babd28d9f..c3c7cd195c115026e3c4c495f8f7d88a3526d1e9 100644 (file)
@@ -42,6 +42,7 @@
 #include <linux/fcntl.h>
 #include <linux/mm.h>
 #include <linux/notifier.h>
+#include <linux/export.h>
 
 #include <asm/page.h>
 #include <asm/pgtable.h>
index aceeca799fd7689958d26b9dd9b98bbb4d21bbd6..553a7a21af5e886654448ec5ab0beb06aa42c4f2 100644 (file)
@@ -37,6 +37,7 @@
 #include <linux/device.h>
 #include <linux/notifier.h>
 #include <linux/mutex.h>
+#include <linux/export.h>
 #include <linux/completion.h>
 #include <linux/init.h>
 #include <linux/slab.h>