Re: [PATCH v6 4/5] jump_label: adjust inline asm to be consistent
From: Alice Ryhl
Date: Mon Aug 12 2024 - 09:34:24 EST
On Thu, Aug 8, 2024 at 7:23 PM Alice Ryhl <aliceryhl@xxxxxxxxxx> 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@xxxxxxxxxx [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