projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83a7eef
)
x86/alternative: Zap alternative_ternary()
author
Borislav Petkov (AMD)
<bp@alien8.de>
Fri, 7 Jun 2024 11:16:48 +0000
(13:16 +0200)
committer
Borislav Petkov (AMD)
<bp@alien8.de>
Tue, 11 Jun 2024 15:07:35 +0000
(17:07 +0200)
Unused.
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-2-bp@kernel.org
arch/x86/include/asm/alternative.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/include/asm/alternative.h
b/arch/x86/include/asm/alternative.h
index ba99ef75f56cbe3ef97c8f7f9fc616884f3802af..6db78909180ae99329f402f9981910afc41b107a 100644
(file)
--- a/
arch/x86/include/asm/alternative.h
+++ b/
arch/x86/include/asm/alternative.h
@@
-271,9
+271,6
@@
static inline int alternatives_text_reserved(void *start, void *end)
#define alternative_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2) \
asm_inline volatile(ALTERNATIVE_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2) ::: "memory")
-#define alternative_ternary(oldinstr, ft_flags, newinstr_yes, newinstr_no) \
- asm_inline volatile(ALTERNATIVE_TERNARY(oldinstr, ft_flags, newinstr_yes, newinstr_no) ::: "memory")
-
/*
* Alternative inline assembly with input.
*