[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <mvm5xq44bqh.fsf@suse.de>
Date: Mon, 07 Oct 2024 09:24:06 +0200
From: Andreas Schwab <schwab@...e.de>
To: linux-riscv@...ts.infradead.org
CC: Charlie Jenkins <charlie@...osinc.com>,
Paul Walmsley <paul.walmsley@...ive.com>, Palmer Dabbelt
<palmer@...belt.com>, Albert Ou <aou@...s.berkeley.edu>, Andrea Parri
<parri.andrea@...il.com>, linux-kernel@...r.kernel.org
Subject: [PATCH] tools: add forwarding header for
arch/riscv/include/asm/fence.h
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@...e.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@...e.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
Powered by blists - more mailing lists