[tip: x86/msr] x86/msr: Remove wrmsrl()
From: tip-bot2 for Juergen Gross
Date: Mon Jun 08 2026 - 07:30:23 EST
The following commit has been merged into the x86/msr branch of tip:
Commit-ID: b5884070f9da9ffecd5141b5811cfdbaa274809a
Gitweb: https://git.kernel.org/tip/b5884070f9da9ffecd5141b5811cfdbaa274809a
Author: Juergen Gross <jgross@xxxxxxxx>
AuthorDate: Mon, 08 Jun 2026 10:28:09 +02:00
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitterDate: Mon, 08 Jun 2026 13:16:35 +02:00
x86/msr: Remove wrmsrl()
wrmsrl() has no users left. Delete it.
Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
Link: https://patch.msgid.link/20260608082809.3492719-5-jgross@xxxxxxxx
---
arch/x86/include/asm/msr.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/x86/include/asm/msr.h b/arch/x86/include/asm/msr.h
index 4505cf1..2f41a92 100644
--- a/arch/x86/include/asm/msr.h
+++ b/arch/x86/include/asm/msr.h
@@ -302,9 +302,5 @@ static inline int wrmsr_safe_regs_on_cpu(unsigned int cpu, u32 regs[8])
return wrmsr_safe_regs(regs);
}
#endif /* CONFIG_SMP */
-
-/* Compatibility wrappers: */
-#define wrmsrl(msr, val) wrmsrq(msr, val)
-
#endif /* __ASSEMBLER__ */
#endif /* _ASM_X86_MSR_H */