public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools: add forwarding header for arch/riscv/include/asm/fence.h
@ 2024-10-07  7:24 Andreas Schwab
  2024-10-09 17:18 ` Palmer Dabbelt
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Andreas Schwab @ 2024-10-07  7:24 UTC (permalink / raw)
  To: linux-riscv
  Cc: Charlie Jenkins, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Andrea Parri, linux-kernel

This is needed so that <asm/barrier.h> can find <asm/fence.h> on riscv.

Fixes: 6d74d178fe6e ("tools: Add riscv barrier implementation")
Signed-off-by: Andreas Schwab <schwab@suse.de>
---
 tools/include/asm/fence.h | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 tools/include/asm/fence.h

diff --git a/tools/include/asm/fence.h b/tools/include/asm/fence.h
new file mode 100644
index 000000000000..917a173059a4
--- /dev/null
+++ b/tools/include/asm/fence.h
@@ -0,0 +1,3 @@
+#if defined(__riscv)
+#include "../../arch/riscv/include/asm/fence.h"
+#endif
-- 
2.46.2


-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-11-12 11:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-07  7:24 [PATCH] tools: add forwarding header for arch/riscv/include/asm/fence.h Andreas Schwab
2024-10-09 17:18 ` Palmer Dabbelt
2024-10-10  6:11   ` Andreas Schwab
2024-10-29 12:29   ` Andreas Schwab
2024-10-29 14:46 ` Anand Moon
2024-10-30  8:33 ` Alexandre Ghiti
2024-11-04 10:02 ` Alexandre Ghiti
2024-11-11  9:41   ` Andreas Schwab
2024-11-11 10:28     ` Alexandre Ghiti
2024-11-11 10:31       ` Andreas Schwab
2024-11-12 11:36         ` Björn Töpel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox