Commit
3a4c5d5964ed43a5524f6d289fb4cd37d39f3f1a
s390: add missing module.h/export.h includes
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>
Showing
15 changed files
with
17 additions
and
0 deletions
Side-by-side Diff
... |
... |
@@ -14,6 +14,7 @@ |
14
|
14 |
*/ |
15
|
15 |
|
16
|
16 |
#include <crypto/internal/hash.h> |
|
17 |
+#include <linux/module.h> |
17
|
18 |
#include "sha.h" |
18
|
19 |
#include "crypt_s390.h" |
19
|
20 |
|
... |
... |
@@ -26,6 +26,7 @@ |
26
|
26 |
#include <linux/pfn.h> |
27
|
27 |
#include <linux/poison.h> |
28
|
28 |
#include <linux/initrd.h> |
|
29 |
+#include <linux/export.h> |
29
|
30 |
#include <linux/gfp.h> |
30
|
31 |
#include <asm/processor.h> |
31
|
32 |
#include <asm/system.h> |
... |
... |
@@ -11,6 +11,7 @@ |
11
|
11 |
#include <linux/console.h> |
12
|
12 |
#include <linux/init.h> |
13
|
13 |
#include <linux/interrupt.h> |
|
14 |
+#include <linux/module.h> |
14
|
15 |
#include <linux/list.h> |
15
|
16 |
#include <linux/slab.h> |
16
|
17 |
#include <linux/types.h> |
... |
... |
@@ -21,6 +21,7 @@ |
21
|
21 |
#include <linux/err.h> |
22
|
22 |
#include <linux/slab.h> |
23
|
23 |
#include <linux/completion.h> |
|
24 |
+#include <linux/export.h> |
24
|
25 |
#include <asm/ebcdic.h> |
25
|
26 |
#include <asm/sclp.h> |
26
|
27 |
|
... |
... |
@@ -16,6 +16,7 @@ |
16
|
16 |
#include <linux/kernel.h> |
17
|
17 |
#include <linux/miscdevice.h> |
18
|
18 |
#include <linux/slab.h> |
|
19 |
+#include <linux/export.h> |
19
|
20 |
#include <asm/compat.h> |
20
|
21 |
#include <asm/cpcmd.h> |
21
|
22 |
#include <asm/debug.h> |
... |
... |
@@ -14,6 +14,7 @@ |
14
|
14 |
#include <linux/kernel_stat.h> |
15
|
15 |
#include <linux/cdev.h> |
16
|
16 |
#include <linux/slab.h> |
|
17 |
+#include <linux/module.h> |
17
|
18 |
|
18
|
19 |
#include <asm/uaccess.h> |
19
|
20 |
#include <asm/cio.h> |
... |
... |
@@ -10,6 +10,8 @@ |
10
|
10 |
#include <linux/bug.h> |
11
|
11 |
#include <linux/workqueue.h> |
12
|
12 |
#include <linux/spinlock.h> |
|
13 |
+#include <linux/export.h> |
|
14 |
+#include <linux/sched.h> |
13
|
15 |
#include <linux/init.h> |
14
|
16 |
#include <linux/jiffies.h> |
15
|
17 |
#include <linux/wait.h> |
... |
... |
@@ -7,6 +7,8 @@ |
7
|
7 |
*/ |
8
|
8 |
#include <linux/seq_file.h> |
9
|
9 |
#include <linux/debugfs.h> |
|
10 |
+#include <linux/uaccess.h> |
|
11 |
+#include <linux/export.h> |
10
|
12 |
#include <asm/debug.h> |
11
|
13 |
#include "qdio_debug.h" |
12
|
14 |
#include "qdio.h" |
... |
... |
@@ -8,6 +8,7 @@ |
8
|
8 |
*/ |
9
|
9 |
#include <linux/kernel.h> |
10
|
10 |
#include <linux/slab.h> |
|
11 |
+#include <linux/export.h> |
11
|
12 |
#include <asm/qdio.h> |
12
|
13 |
|
13
|
14 |
#include "cio.h" |
... |
... |
@@ -20,6 +20,7 @@ |
20
|
20 |
#include <linux/virtio_console.h> |
21
|
21 |
#include <linux/interrupt.h> |
22
|
22 |
#include <linux/virtio_ring.h> |
|
23 |
+#include <linux/export.h> |
23
|
24 |
#include <linux/pfn.h> |
24
|
25 |
#include <asm/io.h> |
25
|
26 |
#include <asm/kvm_para.h> |
... |
... |
@@ -31,6 +31,7 @@ |
31
|
31 |
#include <linux/miscdevice.h> |
32
|
32 |
#include <linux/seq_file.h> |
33
|
33 |
#include <linux/slab.h> |
|
34 |
+#include <linux/module.h> |
34
|
35 |
#include "zfcp_ext.h" |
35
|
36 |
#include "zfcp_fc.h" |
36
|
37 |
#include "zfcp_reqlist.h" |
... |
... |
@@ -9,6 +9,7 @@ |
9
|
9 |
#define KMSG_COMPONENT "zfcp" |
10
|
10 |
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt |
11
|
11 |
|
|
12 |
+#include <linux/module.h> |
12
|
13 |
#include "zfcp_ext.h" |
13
|
14 |
#include "zfcp_reqlist.h" |
14
|
15 |
|
... |
... |
@@ -9,6 +9,7 @@ |
9
|
9 |
#define KMSG_COMPONENT "zfcp" |
10
|
10 |
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt |
11
|
11 |
|
|
12 |
+#include <linux/module.h> |
12
|
13 |
#include <linux/ctype.h> |
13
|
14 |
#include <linux/slab.h> |
14
|
15 |
#include <asm/debug.h> |
... |
... |
@@ -10,6 +10,7 @@ |
10
|
10 |
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt |
11
|
11 |
|
12
|
12 |
#include <linux/slab.h> |
|
13 |
+#include <linux/module.h> |
13
|
14 |
#include "zfcp_ext.h" |
14
|
15 |
#include "zfcp_qdio.h" |
15
|
16 |
|
... |
... |
@@ -9,6 +9,7 @@ |
9
|
9 |
#define KMSG_COMPONENT "zfcp" |
10
|
10 |
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt |
11
|
11 |
|
|
12 |
+#include <linux/module.h> |
12
|
13 |
#include <linux/types.h> |
13
|
14 |
#include <linux/slab.h> |
14
|
15 |
#include <scsi/fc/fc_fcp.h> |