Skip to content

Commit 65c9a9f

Browse files
hcahcaAlexander Gordeev
authored andcommitted
s390: Explicitly include <linux/export.h>
Explicitly include <linux/export.h> in files which contain an EXPORT_SYMBOL(). See commit a934a57 ("scripts/misc-check: check missing #include <linux/export.h> when W=1") for more details. Acked-by: Alexander Gordeev <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
1 parent 42398ca commit 65c9a9f

24 files changed

+30
-0
lines changed

arch/s390/appldata/appldata_base.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#define KMSG_COMPONENT "appldata"
1313
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
1414

15+
#include <linux/export.h>
1516
#include <linux/module.h>
1617
#include <linux/sched/stat.h>
1718
#include <linux/init.h>

arch/s390/crypto/arch_random.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* Author(s): Harald Freudenberger
77
*/
88

9+
#include <linux/export.h>
910
#include <linux/kernel.h>
1011
#include <linux/atomic.h>
1112
#include <linux/random.h>

arch/s390/crypto/sha_common.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*/
1010

1111
#include <crypto/internal/hash.h>
12+
#include <linux/export.h>
1213
#include <linux/module.h>
1314
#include <asm/cpacf.h>
1415
#include "sha.h"

arch/s390/include/asm/nospec-insn.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#define _ASM_S390_NOSPEC_ASM_H
44

55
#include <linux/linkage.h>
6+
#include <linux/export.h>
67
#include <asm/dwarf.h>
78

89
#ifdef __ASSEMBLER__

arch/s390/kernel/cpufeature.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*/
55

66
#include <linux/cpufeature.h>
7+
#include <linux/export.h>
78
#include <linux/bug.h>
89
#include <asm/machine.h>
910
#include <asm/elf.h>

arch/s390/kernel/crash_dump.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*/
88

99
#include <linux/crash_dump.h>
10+
#include <linux/export.h>
1011
#include <asm/lowcore.h>
1112
#include <linux/kernel.h>
1213
#include <linux/init.h>

arch/s390/kernel/ctlreg.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
#include <linux/irqflags.h>
77
#include <linux/spinlock.h>
8+
#include <linux/export.h>
89
#include <linux/kernel.h>
910
#include <linux/init.h>
1011
#include <linux/smp.h>

arch/s390/kernel/facility.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright IBM Corp. 2023
44
*/
55

6+
#include <linux/export.h>
67
#include <asm/facility.h>
78

89
unsigned int stfle_size(void)

arch/s390/kernel/fpu.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Copyright IBM Corp. 2015
66
* Author(s): Hendrik Brueckner <[email protected]>
77
*/
8+
9+
#include <linux/export.h>
810
#include <linux/kernel.h>
911
#include <linux/cpu.h>
1012
#include <linux/sched.h>

arch/s390/kernel/sthyi.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Copyright IBM Corp. 2016
66
* Author(s): Janosch Frank <[email protected]>
77
*/
8+
9+
#include <linux/export.h>
810
#include <linux/errno.h>
911
#include <linux/pagemap.h>
1012
#include <linux/vmalloc.h>

0 commit comments

Comments
 (0)