summaryrefslogtreecommitdiffstats
path: root/arch/sparc/lib/ffs.S
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2023-08-20 01:33:48 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2023-08-22 11:12:25 +0200
commit4cdb71b6ba3283fb2b7eaccc333f8f2c5b81797b (patch)
treea64d3b500b0d3ef5dd01475589c96c94a5cd7619 /arch/sparc/lib/ffs.S
parentkbuild: remove include/ksym from CLEAN_FILES (diff)
downloadlinux-4cdb71b6ba3283fb2b7eaccc333f8f2c5b81797b.tar.xz
linux-4cdb71b6ba3283fb2b7eaccc333f8f2c5b81797b.zip
sparc: replace #include <asm/export.h> with #include <linux/export.h>
Commit ddb5cdbafaaa ("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> Acked-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/sparc/lib/ffs.S')
-rw-r--r--arch/sparc/lib/ffs.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/lib/ffs.S b/arch/sparc/lib/ffs.S
index 5a11d864fa05..3a9ad8ffdfe8 100644
--- a/arch/sparc/lib/ffs.S
+++ b/arch/sparc/lib/ffs.S
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0 */
+#include <linux/export.h>
#include <linux/linkage.h>
-#include <asm/export.h>
.register %g2,#scratch