Skip to contentSkip to conversation

use linux/export.h rather than asm-generic/export.h

PATCH Applied Al Viro 2 participants 2 messages Dec 14, 2023 – Jan 11, 2024 RISC-V

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 use linux/export.h rather than asm-generic/export.h

asm-generic/export.h is a wrapper for linux/export.h, with explicit request to use linux/export.h directly.

---

arch/riscv/kernel/mcount-dyn.S +1 -1
index 58dd96a2a153..79dc81223238 100644
@@ -3,12 +3,12 @@
 
 #include <linux/init.h>
 #include <linux/linkage.h>
+#include <linux/export.h>
 #include <asm/asm.h>
 #include <asm/csr.h>
 #include <asm/unistd.h>
 #include <asm/thread_info.h>
 #include <asm/asm-offsets.h>
-#include <asm-generic/export.h>
 #include <asm/ftrace.h>
 
 	.text
arch/riscv/kernel/mcount.S +1 -1
index b4dd9ed6849e..d7ec69ac6910 100644
@@ -4,12 +4,12 @@
 #include <linux/init.h>
 #include <linux/linkage.h>
 #include <linux/cfi_types.h>
+#include <linux/export.h>
 #include <asm/asm.h>
 #include <asm/csr.h>
 #include <asm/unistd.h>
 #include <asm/thread_info.h>
 #include <asm/asm-offsets.h>
-#include <asm-generic/export.h>
 #include <asm/ftrace.h>
 
 	.text
arch/riscv/lib/clear_page.S +1 -1
index b22de1231144..20ff03f5b0f2 100644
@@ -4,9 +4,9 @@
  */
 
 #include <linux/linkage.h>
+#include <linux/export.h>
 #include <asm/asm.h>
 #include <asm/alternative-macros.h>
-#include <asm-generic/export.h>
 #include <asm/hwcap.h>
 #include <asm/insn-def.h>
 #include <asm/page.h>
arch/riscv/lib/tishift.S +1 -1
index ef90075c4b0a..c8294bf72c06 100644
@@ -4,7 +4,7 @@
  */
 
 #include <linux/linkage.h>
-#include <asm-generic/export.h>
+#include <linux/export.h>
 
 SYM_FUNC_START(__lshrti3)
 	beqz	a2, .L1
arch/riscv/lib/uaccess.S +1 -1
index 3ab438f30d13..a9d356d6c03c 100644
@@ -1,5 +1,5 @@
 #include <linux/linkage.h>
-#include <asm-generic/export.h>
+#include <linux/export.h>
 #include <asm/asm.h>
 #include <asm/asm-extable.h>
 #include <asm/csr.h>

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv

#1 lore raw
This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <[email protected]>:

Hello:

This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <[email protected]>:

Quoted 5 lines · On Thu, 14 Dec 2023 19:19:22 +0000 you wrote:

asm-generic/export.h is a wrapper for linux/export.h, with explicit request to use linux/export.h directly.

---

Here is the summary with links:
- [riscv] use linux/export.h rather than asm-generic/export.h

    https://git.kernel.org/riscv/c/62694797f56b

You are awesome, thank you!

Signature · 9 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv