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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 6613476 commit 3a6dd5f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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)