[PATCH v6 4/5] jump_label: adjust inline asm to be consistent

Alice Ryhl aliceryhl at google.com
Mon Aug 12 06:32:59 PDT 2024


On Thu, Aug 8, 2024 at 7:23 PM Alice Ryhl <aliceryhl at google.com> wrote:
>
> To avoid duplication of inline asm between C and Rust, we need to
> import the inline asm from the relevant `jump_label.h` header into Rust.
> To make that easier, this patch updates the header files to expose the
> inline asm via a new ARCH_STATIC_BRANCH_ASM macro.
>
> The header files are all updated to define a ARCH_STATIC_BRANCH_ASM that
> takes the same arguments in a consistent order so that Rust can use the
> same logic for every architecture.
>
> Link: https://lore.kernel.org/r/20240725183325.122827-7-ojeda@kernel.org [1]

This link is in the wrong place. It's supposed to be mentioned as a
dependency for this series. Also, I intended to have the same tags
here as I did on the last patch.

Alice



More information about the linux-riscv mailing list