Skip to content

Commit b8c723f

Browse files
masahir0yhcahca
authored andcommitted
s390: replace #include <asm/export.h> with #include <linux/export.h>
Commit ddb5cdb ("kbuild: generate KSYMTAB entries by modpost") deprecated <asm/export.h>, which is now a wrapper of <linux/export.h>. Replace #include <asm/export.h> with #include <linux/export.h>. After all the <asm/export.h> lines are converted, <asm/export.h> and <asm-generic/export.h> will be removed. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Link: https://lore.kernel.org/r/20230806151641.394720-2-masahiroy@kernel.org Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
1 parent 1e66317 commit b8c723f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

arch/s390/kernel/entry.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* Denis Joseph Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com),
99
*/
1010

11+
#include <linux/export.h>
1112
#include <linux/init.h>
1213
#include <linux/linkage.h>
1314
#include <asm/asm-extable.h>
@@ -26,7 +27,6 @@
2627
#include <asm/vx-insn.h>
2728
#include <asm/setup.h>
2829
#include <asm/nmi.h>
29-
#include <asm/export.h>
3030
#include <asm/nospec-insn.h>
3131

3232
_LPP_OFFSET = __LC_LPP

arch/s390/lib/mem.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
* Copyright IBM Corp. 2012
66
*/
77

8+
#include <linux/export.h>
89
#include <linux/linkage.h>
9-
#include <asm/export.h>
1010
#include <asm/nospec-insn.h>
1111

1212
GEN_BR_THUNK %r14

arch/s390/lib/tishift.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* SPDX-License-Identifier: GPL-2.0 */
22

3+
#include <linux/export.h>
34
#include <linux/linkage.h>
45
#include <asm/nospec-insn.h>
5-
#include <asm/export.h>
66

77
.section .noinstr.text, "ax"
88

0 commit comments

Comments
 (0)