diff options
author | Masahiro Yamada <[email protected]> | 2024-01-21 06:33:11 +0900 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-01-21 16:36:29 -0800 |
commit | 3a6dd5f614a13033a47eaf439ac34e7b6fbc7705 (patch) | |
tree | faed117f00c50358e317c98c31bf2adc43c76821 | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) |
riscv: remove unneeded #include <asm-generic/export.h>
Commit 62694797f56b ("use linux/export.h rather than
asm-generic/export.h") replaced deprecated <asm-generic/export.h>
inclusions.
Commit c2a658d41924 ("riscv: lib: vectorize copy_to_user/copy_from_user")
introduced a new instance of #include <asm-generic/export.h>.
arch/riscv/lib/uaccess_vector.S does not use EXPORT_SYMBOL, hence this
include directive is unneeded.
Signed-off-by: Masahiro Yamada <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
-rw-r--r-- | arch/riscv/lib/uaccess_vector.S | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/riscv/lib/uaccess_vector.S b/arch/riscv/lib/uaccess_vector.S index 51ab5588e9ff..7c45f26de4f7 100644 --- a/arch/riscv/lib/uaccess_vector.S +++ b/arch/riscv/lib/uaccess_vector.S @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <linux/linkage.h> -#include <asm-generic/export.h> #include <asm/asm.h> #include <asm/asm-extable.h> #include <asm/csr.h> |