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

From
Alice Ryhl <aliceryhl@google.com>
Date
2024-08-12 13:33:13
Also in
linux-arch, linux-riscv, lkml, loongarch, rust-for-linux
Reply to
Alice Ryhl, 2024-08-08
On Thu, Aug 8, 2024 at 7:23 PM Alice Ryhl [off-list ref] 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 (local) [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
Thread (14 messages) 14 messages, 3 authors, last reply 2024-08-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help