powerpc: add export.h to files making use of EXPORT_SYMBOL
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 14:46:24 +0000 (10:46 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:30:37 +0000 (19:30 -0400)
With module.h being implicitly everywhere via device.h, the absence
of explicitly including something for EXPORT_SYMBOL went unnoticed.
Since we are heading to fix things up and clean module.h from the
device.h file, we need to explicitly include these files now.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
43 files changed:
arch/powerpc/include/asm/lv1call.h
arch/powerpc/kernel/crash.c
arch/powerpc/kernel/dma-iommu.c
arch/powerpc/kernel/dma.c
arch/powerpc/kernel/ibmebus.c
arch/powerpc/kernel/isa-bridge.c
arch/powerpc/kernel/kvm.c
arch/powerpc/kernel/pci-common.c
arch/powerpc/kernel/pci_64.c
arch/powerpc/kernel/pci_dn.c
arch/powerpc/kernel/pci_of_scan.c
arch/powerpc/kvm/book3s.c
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/kvm/book3s_hv_builtin.c
arch/powerpc/mm/hash_utils_64.c
arch/powerpc/mm/pgtable_64.c
arch/powerpc/platforms/52xx/mpc52xx_common.c
arch/powerpc/platforms/83xx/suspend.c
arch/powerpc/platforms/cell/axon_msi.c
arch/powerpc/platforms/cell/celleb_setup.c
arch/powerpc/platforms/cell/pmu.c
arch/powerpc/platforms/cell/qpace_setup.c
arch/powerpc/platforms/cell/setup.c
arch/powerpc/platforms/iseries/mf.c
arch/powerpc/platforms/iseries/setup.c
arch/powerpc/platforms/maple/setup.c
arch/powerpc/platforms/pasemi/setup.c
arch/powerpc/platforms/powermac/backlight.c
arch/powerpc/platforms/powermac/feature.c
arch/powerpc/platforms/powermac/setup.c
arch/powerpc/platforms/ps3/os-area.c
arch/powerpc/platforms/ps3/setup.c
arch/powerpc/platforms/ps3/spu.c
arch/powerpc/platforms/pseries/eeh.c
arch/powerpc/platforms/pseries/lpar.c
arch/powerpc/sysdev/cpm_common.c
arch/powerpc/sysdev/dcr.c
arch/powerpc/sysdev/fsl_gtm.c
arch/powerpc/sysdev/fsl_pmc.c
arch/powerpc/sysdev/mpc5xxx_clocks.c
arch/powerpc/sysdev/qe_lib/gpio.c
arch/powerpc/sysdev/scom.c
drivers/ps3/sys-manager-core.c

index 81713acf752997787b2ab58b7316debf10aec178..9cd5fc828a378e283639709d010902133a397feb 100644 (file)
@@ -25,6 +25,7 @@
 #if !defined(__ASSEMBLY__)
 
 #include <linux/types.h>
+#include <linux/export.h>
 
 /* lv1 call declaration macros */
 
index cc6a9d5d69ab08da9a87635c342f83d0083db8f3..d879809d5c454a6d37a8b179c368c3bb9f78cd9c 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/reboot.h>
 #include <linux/kexec.h>
 #include <linux/bootmem.h>
+#include <linux/export.h>
 #include <linux/crash_dump.h>
 #include <linux/delay.h>
 #include <linux/elf.h>
index e7554154a6de8a3567d14bd4a6d06da4c1347688..6ad57719487fecd863ee8aff27dbff2cb7d8bf45 100644 (file)
@@ -5,6 +5,7 @@
  * busses using the iommu infrastructure
  */
 
+#include <linux/export.h>
 #include <asm/iommu.h>
 
 /*
index 4f0959fbfbee02d4538427b7be1ab2a988adeb9d..b04e01f303a9e26610e58ece4ca625aa305e1846 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/dma-debug.h>
 #include <linux/gfp.h>
 #include <linux/memblock.h>
+#include <linux/export.h>
 #include <asm/bug.h>
 #include <asm/abs_addr.h>
 #include <asm/machdep.h>
index 28581f1ad2c08a8494502e2335cfeef2a295577e..2848856dc1719cd122d27aaae7fd8dc4fa337617 100644 (file)
@@ -37,6 +37,7 @@
  */
 
 #include <linux/init.h>
+#include <linux/export.h>
 #include <linux/console.h>
 #include <linux/kobject.h>
 #include <linux/dma-mapping.h>
index 4d5731b2429aa605f6776a8674d6c7e4a40d5520..479752901ec6764df5f57bca5ee3136244d600bb 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/kernel.h>
 #include <linux/pci.h>
 #include <linux/string.h>
+#include <linux/export.h>
 #include <linux/init.h>
 #include <linux/mm.h>
 #include <linux/notifier.h>
index b06bdae04064f59d2c4c4c98e76304dee6ca98c8..35f27646c4ff5af053313054c953000d0be64031 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <linux/kvm_host.h>
 #include <linux/init.h>
+#include <linux/export.h>
 #include <linux/kvm_para.h>
 #include <linux/slab.h>
 #include <linux/of.h>
index 32656f105250a4d6b44af65a47688aa1a1f7e687..ff41553b74c6dd8cd3d99a4421d978e5aaf3a945 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/string.h>
 #include <linux/init.h>
 #include <linux/bootmem.h>
+#include <linux/export.h>
 #include <linux/of_address.h>
 #include <linux/of_pci.h>
 #include <linux/mm.h>
index ab34046752bf463a232947f6f4014698e14e0f46..bcf4bf9e72d9d658d8ed3dbb0f9d10677d0c8277 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/string.h>
 #include <linux/init.h>
 #include <linux/bootmem.h>
+#include <linux/export.h>
 #include <linux/mm.h>
 #include <linux/list.h>
 #include <linux/syscalls.h>
index 478f8d78716b63eec5c13746be28178bb5d44ab5..4e69deb89b37b752bfaa74aae679ecee82667aa7 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/kernel.h>
 #include <linux/pci.h>
 #include <linux/string.h>
+#include <linux/export.h>
 #include <linux/init.h>
 #include <linux/gfp.h>
 
index fe0a5ad6f73e406ef338521a1badae78b33f6f64..b37d0b5a796e941fb079a737936dbb1fa29e1179 100644 (file)
@@ -15,6 +15,7 @@
  */
 
 #include <linux/pci.h>
+#include <linux/export.h>
 #include <asm/pci-bridge.h>
 #include <asm/prom.h>
 
index f68a34d160356bbaab228bc1b59509e0af1c6f4c..a459479995c6619fd83d6731ea7baaa1c016e990 100644 (file)
@@ -16,6 +16,7 @@
 
 #include <linux/kvm_host.h>
 #include <linux/err.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 
 #include <asm/reg.h>
index 4644c7986d8020c681ec1c03c9bc747e055a335f..0cdbc07cec14e1cd9900a5b1eddc62e476dcdf98 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/preempt.h>
 #include <linux/sched.h>
 #include <linux/delay.h>
+#include <linux/export.h>
 #include <linux/fs.h>
 #include <linux/anon_inodes.h>
 #include <linux/cpumask.h>
index d43120355eec15b8d61a0859a7575b2d8e1e6713..286f13d601cf589f1b3ca9e9259c4fd22bb78fc4 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <linux/kvm_host.h>
 #include <linux/preempt.h>
+#include <linux/export.h>
 #include <linux/sched.h>
 #include <linux/spinlock.h>
 #include <linux/bootmem.h>
index 26b2872b3d002e431fb3f423f0d7d6878ac049db..8352db0501921cd813fdcdb6e70e507844bbb064 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/proc_fs.h>
 #include <linux/stat.h>
 #include <linux/sysctl.h>
+#include <linux/export.h>
 #include <linux/ctype.h>
 #include <linux/cache.h>
 #include <linux/init.h>
index 6e595f6496d428a9624f30f027f5a59bf2cfb27c..ad36ede469cc6a1248d520bd6b6915b9b8895501 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/kernel.h>
 #include <linux/errno.h>
 #include <linux/string.h>
+#include <linux/export.h>
 #include <linux/types.h>
 #include <linux/mman.h>
 #include <linux/mm.h>
index 41f3a7eda1def670c1c12864de488788fc27ff98..369fd5457a3f2edc13dba2072be8e8384f3e6489 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/spinlock.h>
 #include <linux/of_platform.h>
 #include <linux/of_gpio.h>
+#include <linux/export.h>
 #include <asm/io.h>
 #include <asm/prom.h>
 #include <asm/mpc52xx.h>
index 104faa8aa23c783da70b2dd97dac842ff8198c3c..edf66870d978b0e4a5286e37cb74e3ab13d5c5f0 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/suspend.h>
 #include <linux/fsl_devices.h>
 #include <linux/of_platform.h>
+#include <linux/export.h>
 
 #include <asm/reg.h>
 #include <asm/io.h>
index ac06903e136a2df7f9b871013878c7fcb7aed761..40a6e34793b4a795548ab73173d0c1b45f72b765 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/kernel.h>
 #include <linux/pci.h>
 #include <linux/msi.h>
+#include <linux/export.h>
 #include <linux/of_platform.h>
 #include <linux/debugfs.h>
 #include <linux/slab.h>
index d58d9bae4b9bf16260257f3c9037bf2ee99bea6e..1d5a4d8ddad9dd221f110ba3768db00134055bad 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/cpu.h>
 #include <linux/sched.h>
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/mm.h>
 #include <linux/stddef.h>
 #include <linux/unistd.h>
index 69ed0d7f164673f069073231bed32e3ba72bd014..1acf360104234862cb8c2bb40516cc99c22c05eb 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <linux/interrupt.h>
 #include <linux/types.h>
+#include <linux/export.h>
 #include <asm/io.h>
 #include <asm/irq_regs.h>
 #include <asm/machdep.h>
index 51e290126bc13c3b731734664d079638e9b5fd35..7f9b6742f8b65889e5d90db2a0cb2f752eac301e 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/sched.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/export.h>
 #include <linux/delay.h>
 #include <linux/irq.h>
 #include <linux/console.h>
index c73cf4c43fc2ff25527d7754a5136e9140a0ad30..0fc9b7256126612ac51691fcb41fc7a65d52fd0c 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/stddef.h>
+#include <linux/export.h>
 #include <linux/unistd.h>
 #include <linux/user.h>
 #include <linux/reboot.h>
index 62dabe3c2bfa0ac247354346cd6ce255c0d90a22..254c1fc3d8dd131d45be22ca2779ae29c59e1c41 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/init.h>
 #include <linux/completion.h>
 #include <linux/delay.h>
+#include <linux/export.h>
 #include <linux/proc_fs.h>
 #include <linux/dma-mapping.h>
 #include <linux/bcd.h>
index c25a0815c26b2c93ee12c4b4a8319b0ba577659c..ea0acbd8966ddc846b5fb3b113f39190bb64d22d 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/smp.h>
 #include <linux/param.h>
 #include <linux/string.h>
+#include <linux/export.h>
 #include <linux/seq_file.h>
 #include <linux/kdev_t.h>
 #include <linux/kexec.h>
index 5b3388b9f9117b4a6114f7724797038ad3d28869..4c372047c94e86e24b2219eb353dab56f91cbbb4 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/mm.h>
 #include <linux/stddef.h>
 #include <linux/unistd.h>
index 7c858e6f843c1821c5900f7f6de872e05b6ac397..6f35582105544396ca584f908e6cb2dbef548dfc 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/kernel.h>
 #include <linux/delay.h>
 #include <linux/console.h>
+#include <linux/export.h>
 #include <linux/pci.h>
 #include <linux/of_platform.h>
 #include <linux/gfp.h>
index c2f3e861f5ea20406d502245cf2561756a647f29..a00096b1c713429be3cbe4a512e83cd66fcf6ee9 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/adb.h>
 #include <linux/pmu.h>
 #include <linux/atomic.h>
+#include <linux/export.h>
 #include <asm/prom.h>
 #include <asm/backlight.h>
 
index df423993f17503997d4ba6e808a0f7754078548e..63d82bbc05e9c4f0307be5f88ccb826844dcc7fd 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/adb.h>
 #include <linux/pmu.h>
 #include <linux/ioport.h>
+#include <linux/export.h>
 #include <linux/pci.h>
 #include <asm/sections.h>
 #include <asm/errno.h>
index a028f08309d64fcec51fd7b86f3d3b49d8bf263b..96580b189ec21446f6b6240aea32effc9b571aad 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/stddef.h>
 #include <linux/unistd.h>
 #include <linux/ptrace.h>
+#include <linux/export.h>
 #include <linux/user.h>
 #include <linux/tty.h>
 #include <linux/string.h>
index 5b759b66959833d60d1fe0f3cc524d0a3b023e2a..56d26bc4fd413d1a727e57b463da8c0816e1d117 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/workqueue.h>
 #include <linux/fs.h>
 #include <linux/syscalls.h>
+#include <linux/export.h>
 #include <linux/ctype.h>
 #include <linux/memblock.h>
 #include <linux/of.h>
index 149bea2ce58370b606fc51132760123d1bebadba..e8ec1b2bfffd2a7b2f5eff77d57dc5ee872b27df 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/fs.h>
 #include <linux/root_dev.h>
 #include <linux/console.h>
+#include <linux/export.h>
 #include <linux/bootmem.h>
 
 #include <asm/machdep.h>
index 375a9f92158d48d5a7996d5ace60f7c551bf4ff4..451fad1c92a84aff71598842961999ce6a8f4db8 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/mmzone.h>
+#include <linux/export.h>
 #include <linux/io.h>
 #include <linux/mm.h>
 
index ada6e07532ecf8919987e33818d69330ea0c760b..f1cb75e5441a43f91668b90c47ae2603b56f14c5 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/rbtree.h>
 #include <linux/seq_file.h>
 #include <linux/spinlock.h>
+#include <linux/export.h>
 #include <linux/of.h>
 
 #include <linux/atomic.h>
index c9a29dae8c0538359e60a3a377484277770c1bc3..27a49508b410711beebff40be49524c28ee3bddc 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/kernel.h>
 #include <linux/dma-mapping.h>
 #include <linux/console.h>
+#include <linux/export.h>
 #include <asm/processor.h>
 #include <asm/mmu.h>
 #include <asm/page.h>
index d55d0ad0deab937f28780e1673052b96d3b44439..f8488a64771dbe94efdceb59720650483e27d94c 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/init.h>
 #include <linux/of_device.h>
 #include <linux/spinlock.h>
+#include <linux/export.h>
 #include <linux/of.h>
 #include <linux/slab.h>
 
index bb44aa9fd47028cabab4b57a472867e0f77f9136..1bd0eba4d3555b2a89c6b19bbc6241e8ba6db6f4 100644 (file)
@@ -20,6 +20,7 @@
 #undef DEBUG
 
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <asm/prom.h>
 #include <asm/dcr.h>
 
index 7dd2885321ad112cf88592e299d77ac4b2359d9b..02cf1e7e77fc6a7bcf4a734d15099e8e4dcc25bc 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/spinlock.h>
 #include <linux/bitops.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include <asm/fsl_gtm.h>
 
 #define GTCFR_STP(x)           ((x) & 1 ? 1 << 5 : 1 << 1)
index f122e8961d32282676179fda517038c38b001126..592a0f8d527a10fdfb61aa9c407b94f4b0aa8168 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/init.h>
 #include <linux/types.h>
 #include <linux/errno.h>
+#include <linux/export.h>
 #include <linux/suspend.h>
 #include <linux/delay.h>
 #include <linux/device.h>
index 34e12f9995fe79ec5859435d563b8881f37baf26..96f815a55dfd289ec09797a2b329a197573cacea 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <linux/kernel.h>
 #include <linux/of_platform.h>
+#include <linux/export.h>
 
 unsigned int
 mpc5xxx_get_bus_frequency(struct device_node *node)
index 36bf845df12779622d20c76733115488b1b60887..e23f23cf9f5c85d5e6295f4393c1db9e733a816f 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/of_gpio.h>
 #include <linux/gpio.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include <asm/qe.h>
 
 struct qe_gpio_chip {
index b2593ce30c9b1447426b2b191aa8af19554ca100..49a3ece1c6b3589971872bf4d440cab1e609d764 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/kernel.h>
 #include <linux/debugfs.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include <asm/prom.h>
 #include <asm/scom.h>
 
index 474225852b63689500c87c6631677a502ed471e2..0e41737ea835a66d862f3b3f490be9f52dca68a1 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <asm/lv1call.h>
 #include <asm/ps3.h>