[PATCH 4/4] x86/msr: Remove wrmsrl()
From: Juergen Gross
Date: Mon Jun 08 2026 - 04:35:10 EST
wrmsrl() has no users left. Delete it.
Signed-off-by: Juergen Gross <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 4505cf10856d..2f41a9289d79 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 */
--
2.54.0