diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-10 13:22:07 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:32:11 -0400 |
commit | 63c9744b9a53b8113b6d33ca361452b28f2ec391 (patch) | |
tree | 9f5b2054dc963395378215dd7318137c0ed48ce3 | |
parent | 72ee5112a0007c958dc57f4a1469c4bbd2cf4d11 (diff) |
xen: Add export.h for THIS_MODULE/EXPORT_SYMBOL to various xen users.
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>
-rw-r--r-- | drivers/xen/manage.c | 1 | ||||
-rw-r--r-- | drivers/xen/swiotlb-xen.c | 1 | ||||
-rw-r--r-- | drivers/xen/xenbus/xenbus_client.c | 1 | ||||
-rw-r--r-- | drivers/xen/xenbus/xenbus_probe_backend.c | 1 | ||||
-rw-r--r-- | include/xen/xenbus.h | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c index 0b5366b5be20..ce4fa0831860 100644 --- a/drivers/xen/manage.c +++ b/drivers/xen/manage.c | |||
@@ -9,6 +9,7 @@ | |||
9 | #include <linux/stop_machine.h> | 9 | #include <linux/stop_machine.h> |
10 | #include <linux/freezer.h> | 10 | #include <linux/freezer.h> |
11 | #include <linux/syscore_ops.h> | 11 | #include <linux/syscore_ops.h> |
12 | #include <linux/export.h> | ||
12 | 13 | ||
13 | #include <xen/xen.h> | 14 | #include <xen/xen.h> |
14 | #include <xen/xenbus.h> | 15 | #include <xen/xenbus.h> |
diff --git a/drivers/xen/swiotlb-xen.c b/drivers/xen/swiotlb-xen.c index c984768d98ca..8e964b91c447 100644 --- a/drivers/xen/swiotlb-xen.c +++ b/drivers/xen/swiotlb-xen.c | |||
@@ -35,6 +35,7 @@ | |||
35 | 35 | ||
36 | #include <linux/bootmem.h> | 36 | #include <linux/bootmem.h> |
37 | #include <linux/dma-mapping.h> | 37 | #include <linux/dma-mapping.h> |
38 | #include <linux/export.h> | ||
38 | #include <xen/swiotlb-xen.h> | 39 | #include <xen/swiotlb-xen.h> |
39 | #include <xen/page.h> | 40 | #include <xen/page.h> |
40 | #include <xen/xen-ops.h> | 41 | #include <xen/xen-ops.h> |
diff --git a/drivers/xen/xenbus/xenbus_client.c b/drivers/xen/xenbus/xenbus_client.c index cdacf923e073..b63540dd4ef5 100644 --- a/drivers/xen/xenbus/xenbus_client.c +++ b/drivers/xen/xenbus/xenbus_client.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <linux/slab.h> | 33 | #include <linux/slab.h> |
34 | #include <linux/types.h> | 34 | #include <linux/types.h> |
35 | #include <linux/vmalloc.h> | 35 | #include <linux/vmalloc.h> |
36 | #include <linux/export.h> | ||
36 | #include <asm/xen/hypervisor.h> | 37 | #include <asm/xen/hypervisor.h> |
37 | #include <xen/interface/xen.h> | 38 | #include <xen/interface/xen.h> |
38 | #include <xen/interface/event_channel.h> | 39 | #include <xen/interface/event_channel.h> |
diff --git a/drivers/xen/xenbus/xenbus_probe_backend.c b/drivers/xen/xenbus/xenbus_probe_backend.c index 32417b5064fd..c3c7cd195c11 100644 --- a/drivers/xen/xenbus/xenbus_probe_backend.c +++ b/drivers/xen/xenbus/xenbus_probe_backend.c | |||
@@ -42,6 +42,7 @@ | |||
42 | #include <linux/fcntl.h> | 42 | #include <linux/fcntl.h> |
43 | #include <linux/mm.h> | 43 | #include <linux/mm.h> |
44 | #include <linux/notifier.h> | 44 | #include <linux/notifier.h> |
45 | #include <linux/export.h> | ||
45 | 46 | ||
46 | #include <asm/page.h> | 47 | #include <asm/page.h> |
47 | #include <asm/pgtable.h> | 48 | #include <asm/pgtable.h> |
diff --git a/include/xen/xenbus.h b/include/xen/xenbus.h index aceeca799fd7..553a7a21af5e 100644 --- a/include/xen/xenbus.h +++ b/include/xen/xenbus.h | |||
@@ -37,6 +37,7 @@ | |||
37 | #include <linux/device.h> | 37 | #include <linux/device.h> |
38 | #include <linux/notifier.h> | 38 | #include <linux/notifier.h> |
39 | #include <linux/mutex.h> | 39 | #include <linux/mutex.h> |
40 | #include <linux/export.h> | ||
40 | #include <linux/completion.h> | 41 | #include <linux/completion.h> |
41 | #include <linux/init.h> | 42 | #include <linux/init.h> |
42 | #include <linux/slab.h> | 43 | #include <linux/slab.h> |