# Re: \[PATCH V7 2/4\] powerpc/jump\_label: adjust inline asm to be consistent

- From: Gary Guo \<gary@garyguo.net\>
- Date: 2026-03-29 18:28:46 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2026/03/3487369
- Thread: https://ratatoskr.run/linuxppc-dev/2026/03/3487251/t.md

```text
On Sun Mar 29, 2026 at 5:02 PM BST, Mukesh Kumar Chaurasiya (IBM) wrote:
> Added support for a new macro ARCH_STATIC_BRANCH_ASM in powerpc
> to avoid duplication of inline asm between C and Rust. This is
> inline with commit aecaf181651c '("jump_label: adjust inline asm to be consistent")'
> 
> Co-developed-by: Madhavan Srinivasan <maddy@linux.ibm.com>
> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
> Reviewed-by: Alice Ryhl <aliceryhl@google.com>
> Reviewed-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
> Signed-off-by: Mukesh Kumar Chaurasiya (IBM) <redacted>

Reviewed-by: Gary Guo <gary@garyguo.net>

> ---
>  arch/powerpc/include/asm/jump_label.h | 23 +++++++++++++----------
>  1 file changed, 13 insertions(+), 10 deletions(-)


```
