Skip to content

Commit 8cb1f14

Browse files
committed
x86/alternative: Convert alternative_2()
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20240607111701.8366-5-bp@kernel.org
1 parent b94c1fe commit 8cb1f14

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

arch/x86/include/asm/alternative.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,9 +319,6 @@ static inline int alternatives_text_reserved(void *start, void *end)
319319
asm_inline volatile(N_ALTERNATIVE(oldinstr, newinstr, ft_flags) : : : "memory")
320320

321321
#define alternative_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2) \
322-
asm_inline volatile(ALTERNATIVE_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2) ::: "memory")
323-
324-
#define n_alternative_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2) \
325322
asm_inline volatile(N_ALTERNATIVE_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2) ::: "memory")
326323

327324
/*

0 commit comments

Comments
 (0)