]> Git Repo - linux.git/commitdiff
riscv: remove unneeded #include <asm-generic/export.h>
authorMasahiro Yamada <[email protected]>
Sat, 20 Jan 2024 21:33:11 +0000 (06:33 +0900)
committerPalmer Dabbelt <[email protected]>
Mon, 22 Jan 2024 00:36:29 +0000 (16:36 -0800)
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]>
arch/riscv/lib/uaccess_vector.S

index 51ab5588e9ff36b8b7dc80096be587d09da2881f..7c45f26de4f79b75f5235e3bdb64658aa6bafbce 100644 (file)
@@ -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>
This page took 0.057619 seconds and 4 git commands to generate.