s390: add missing module.h/export.h includes
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 30 Jul 2011 07:25:15 +0000 (09:25 +0200)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:30:58 +0000 (19:30 -0400)
Fix several compile errors on s390 caused by splitting module.h.

Some include additions [e.g. qdio_setup.c, zfcp_qdio.c] are in
anticipation of pending changes queued for s390 that increase
the modular use footprint.

[PG: added additional obvious changes since Heiko's original patch]

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
15 files changed:
arch/s390/crypto/sha_common.c
arch/s390/mm/init.c
drivers/s390/char/fs3270.c
drivers/s390/char/sclp_cpi_sys.c
drivers/s390/char/vmcp.c
drivers/s390/char/vmur.c
drivers/s390/cio/chp.c
drivers/s390/cio/qdio_debug.c
drivers/s390/cio/qdio_setup.c
drivers/s390/kvm/kvm_virtio.c
drivers/s390/scsi/zfcp_aux.c
drivers/s390/scsi/zfcp_ccw.c
drivers/s390/scsi/zfcp_dbf.c
drivers/s390/scsi/zfcp_qdio.c
drivers/s390/scsi/zfcp_scsi.c

index 48884f89ab92b13380a0cfdfa65b9b40e326490a..bd37d09b9d3c8cfacbc39f512ed8eb354d3049e0 100644 (file)
@@ -14,6 +14,7 @@
  */
 
 #include <crypto/internal/hash.h>
+#include <linux/module.h>
 #include "sha.h"
 #include "crypt_s390.h"
 
index 59b663109d9024af9728547208b74a56d5d2d6a2..d4b9fb4d0042d1176729a5b55567a4325b1c139f 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/pfn.h>
 #include <linux/poison.h>
 #include <linux/initrd.h>
+#include <linux/export.h>
 #include <linux/gfp.h>
 #include <asm/processor.h>
 #include <asm/system.h>
index f6489eb7e976a8c0aa1851ebbb21901d689030c1..e71298158f9eaa83a0531269a7da5c83c0c1d14a 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/console.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/module.h>
 #include <linux/list.h>
 #include <linux/slab.h>
 #include <linux/types.h>
index 4a51e3f096894d0151326bfac6ecef7b5c1c73d8..bd1b9c9190514188b9c1469e8f2d2fb23a82c606 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/err.h>
 #include <linux/slab.h>
 #include <linux/completion.h>
+#include <linux/export.h>
 #include <asm/ebcdic.h>
 #include <asm/sclp.h>
 
index 31a3ccbb6495c2e8efcdd34bbd8b3cacfbbf9154..75bde6a8b7dc9277332b40be961bbc4888d1d497 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/kernel.h>
 #include <linux/miscdevice.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include <asm/compat.h>
 #include <asm/cpcmd.h>
 #include <asm/debug.h>
index f6b00c3df425d192da15790e75f16f6a6af09fb2..b95cbdccc11a506128c5e8c237f3c7121fbed86e 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/kernel_stat.h>
 #include <linux/cdev.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #include <asm/uaccess.h>
 #include <asm/cio.h>
index 2d32233943a917c7f6ae9949122a78e3f962a60c..e792436c92701fc684fc830c0656666c5a73c95c 100644 (file)
@@ -10,6 +10,8 @@
 #include <linux/bug.h>
 #include <linux/workqueue.h>
 #include <linux/spinlock.h>
+#include <linux/export.h>
+#include <linux/sched.h>
 #include <linux/init.h>
 #include <linux/jiffies.h>
 #include <linux/wait.h>
index aaf7f935bfd37e16c44e6ff70e84b38bde1c71c4..4fc5e626014d89d1a805a736455b0db15898475b 100644 (file)
@@ -7,6 +7,8 @@
  */
 #include <linux/seq_file.h>
 #include <linux/debugfs.h>
+#include <linux/uaccess.h>
+#include <linux/export.h>
 #include <asm/debug.h>
 #include "qdio_debug.h"
 #include "qdio.h"
index d9a46a429bccf8213f4dd6c6fea8032c1d127070..2acc01f90a6ab138dce075d2bfd08dca6866caee 100644 (file)
@@ -8,6 +8,7 @@
  */
 #include <linux/kernel.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include <asm/qdio.h>
 
 #include "cio.h"
index aec60d55b10dc238e5b3529507fe9afc43db173e..826ac1e67922577aaae810cc27e89e6fda1aac0e 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/virtio_console.h>
 #include <linux/interrupt.h>
 #include <linux/virtio_ring.h>
+#include <linux/export.h>
 #include <linux/pfn.h>
 #include <asm/io.h>
 #include <asm/kvm_para.h>
index 645b0fcbb370aa76b5bc816e4509330b67f73146..08601810966252a1b2815f600724c0c90785fb2b 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/miscdevice.h>
 #include <linux/seq_file.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include "zfcp_ext.h"
 #include "zfcp_fc.h"
 #include "zfcp_reqlist.h"
index e8b7cee62046e994187499139eda8333d766bca2..96f13ad88123408b51698023a977e90eb3261d97 100644 (file)
@@ -9,6 +9,7 @@
 #define KMSG_COMPONENT "zfcp"
 #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
 
+#include <linux/module.h>
 #include "zfcp_ext.h"
 #include "zfcp_reqlist.h"
 
index 967e7b70e9779d7c26c58cbe65dd2329c358e0a1..a9a816e4aa55f5c2ad8eadfe4302cba48609e421 100644 (file)
@@ -9,6 +9,7 @@
 #define KMSG_COMPONENT "zfcp"
 #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
 
+#include <linux/module.h>
 #include <linux/ctype.h>
 #include <linux/slab.h>
 #include <asm/debug.h>
index df9e69f5474204220d54f7498c724e56ae41f383..e14da5751d32674fa089fe6ffae6ed93da843262 100644 (file)
@@ -10,6 +10,7 @@
 #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
 
 #include <linux/slab.h>
+#include <linux/module.h>
 #include "zfcp_ext.h"
 #include "zfcp_qdio.h"
 
index 09126a9d62ff8942fe3246cc2d8b5a3c9074c768..11f07f888223d92748e684b4000155b7e37eae9c 100644 (file)
@@ -9,6 +9,7 @@
 #define KMSG_COMPONENT "zfcp"
 #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
 
+#include <linux/module.h>
 #include <linux/types.h>
 #include <linux/slab.h>
 #include <scsi/fc/fc_fcp.h>