[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3f74d48fd784507e1a68d7f43c381ca6e0b40122.1741988314.git.jpoimboe@kernel.org>
Date: Fri, 14 Mar 2025 14:41:26 -0700
From: Josh Poimboeuf <jpoimboe@...nel.org>
To: x86@...nel.org
Cc: linux-kernel@...r.kernel.org,
Linus Torvalds <torvalds@...ux-foundation.org>,
Peter Zijlstra <peterz@...radead.org>,
Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>,
Uros Bizjak <ubizjak@...il.com>,
Andrew Cooper <andrew.cooper3@...rix.com>,
Ingo Molnar <mingo@...nel.org>
Subject: [PATCH 13/20] x86/alternative: Remove alternative_input()
alternative_input() is redundant with alternative_io(), and has no more
users. Remove it.
Signed-off-by: Josh Poimboeuf <jpoimboe@...nel.org>
---
arch/x86/include/asm/alternative.h | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/arch/x86/include/asm/alternative.h b/arch/x86/include/asm/alternative.h
index 92014d56e3aa..119c24329ef1 100644
--- a/arch/x86/include/asm/alternative.h
+++ b/arch/x86/include/asm/alternative.h
@@ -209,16 +209,6 @@ static inline int alternatives_text_reserved(void *start, void *end)
#define alternative_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2) \
alternatve_2_io(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2,,)
-/*
- * Alternative inline assembly with input.
- *
- * Peculiarities:
- * No memory clobber here.
- */
-#define alternative_input(oldinstr, newinstr, ft_flags, input...) \
- asm_inline volatile(ALTERNATIVE(oldinstr, newinstr, ft_flags) \
- : : input)
-
/*
* Alternative inline assembly with input, output and clobbers.
*
--
2.48.1
Powered by blists - more mailing lists