[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <mhng-adb76a44-07c8-442c-8bcf-6f29d061c031@palmer-ri-x1c9>
Date: Wed, 09 Oct 2024 10:18:40 -0700 (PDT)
From: Palmer Dabbelt <palmer@...belt.com>
To: schwab@...e.de
CC: linux-riscv@...ts.infradead.org, Charlie Jenkins <charlie@...osinc.com>,
Paul Walmsley <paul.walmsley@...ive.com>, aou@...s.berkeley.edu, parri.andrea@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tools: add forwarding header for arch/riscv/include/asm/fence.h
On Mon, 07 Oct 2024 00:24:06 PDT (-0700), schwab@...e.de wrote:
> 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
Reviewed-by: Palmer Dabbelt <palmer@...osinc.com>
Acked-by: Palmer Dabbelt <palmer@...osinc.com>
Happy to pick this up via the RISC-V tree if you want. Thanks!
Powered by blists - more mailing lists