[PATCH 1/2] riscv: remove unneeded #include <asm-generic/export.h>

Masahiro Yamada masahiroy at kernel.org
Sun Nov 26 07:17:38 PST 2023


There is no EXPORT_SYMBOL() line there, hence
"#include <asm-generic/export.h>" is unneeded.

Signed-off-by: Masahiro Yamada <masahiroy at kernel.org>
---

 arch/riscv/kernel/mcount-dyn.S | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/riscv/kernel/mcount-dyn.S b/arch/riscv/kernel/mcount-dyn.S
index 58dd96a2a153..952233aa273a 100644
--- a/arch/riscv/kernel/mcount-dyn.S
+++ b/arch/riscv/kernel/mcount-dyn.S
@@ -8,7 +8,6 @@
 #include <asm/unistd.h>
 #include <asm/thread_info.h>
 #include <asm/asm-offsets.h>
-#include <asm-generic/export.h>
 #include <asm/ftrace.h>
 
 	.text
-- 
2.40.1




More information about the linux-riscv mailing list