Skip to content

Commit 3a6dd5f

Browse files
masahir0ypalmer-dabbelt
authored andcommitted
riscv: remove unneeded #include <asm-generic/export.h>
Commit 6269479 ("use linux/export.h rather than asm-generic/export.h") replaced deprecated <asm-generic/export.h> inclusions. Commit c2a658d ("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 <masahiroy@kernel.org> Link: https://lore.kernel.org/r/20240120213312.3033528-1-masahiroy@kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent 6613476 commit 3a6dd5f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

arch/riscv/lib/uaccess_vector.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/* SPDX-License-Identifier: GPL-2.0-only */
22

33
#include <linux/linkage.h>
4-
#include <asm-generic/export.h>
54
#include <asm/asm.h>
65
#include <asm/asm-extable.h>
76
#include <asm/csr.h>

0 commit comments

Comments
 (0)