diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-08-25 17:40:26 +0200 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2023-08-25 17:40:26 +0200 |
commit | 55b46ff9396caca6ebb73a1d5a00f6f8698391cc (patch) | |
tree | 29d54ba627aa8d8b6bb32d2d80e27c762adab977 /arch/loongarch/lib/copy_user.S | |
parent | LoongArch: Remove unneeded #include <asm/export.h> (diff) | |
download | linux-55b46ff9396caca6ebb73a1d5a00f6f8698391cc.tar.xz linux-55b46ff9396caca6ebb73a1d5a00f6f8698391cc.zip |
LoongArch: Replace #include <asm/export.h> with #include <linux/export.h>
Commit ddb5cdbafaaad ("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>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/lib/copy_user.S')
-rw-r--r-- | arch/loongarch/lib/copy_user.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/loongarch/lib/copy_user.S b/arch/loongarch/lib/copy_user.S index fecd08cad702..bfe3d2793d00 100644 --- a/arch/loongarch/lib/copy_user.S +++ b/arch/loongarch/lib/copy_user.S @@ -3,12 +3,12 @@ * Copyright (C) 2020-2022 Loongson Technology Corporation Limited */ +#include <linux/export.h> #include <asm/alternative-asm.h> #include <asm/asm.h> #include <asm/asmmacro.h> #include <asm/asm-extable.h> #include <asm/cpu.h> -#include <asm/export.h> #include <asm/regdef.h> .irp to, 0, 1, 2, 3, 4, 5, 6, 7 |