summaryrefslogtreecommitdiffstats
path: root/arch/sparc/lib/U1memcpy.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/U1memcpy.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/U1memcpy.S')
-rw-r--r--arch/sparc/lib/U1memcpy.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/lib/U1memcpy.S b/arch/sparc/lib/U1memcpy.S
index a6f4ee391897..635398ec7540 100644
--- a/arch/sparc/lib/U1memcpy.S
+++ b/arch/sparc/lib/U1memcpy.S
@@ -6,10 +6,10 @@
*/
#ifdef __KERNEL__
+#include <linux/export.h>
#include <linux/linkage.h>
#include <asm/visasm.h>
#include <asm/asi.h>
-#include <asm/export.h>
#define GLOBAL_SPARE g7
#else
#define GLOBAL_SPARE g5