mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: linux-kernel@vger.kernel.org, x86@kernel.org
Cc: Juergen Gross <jgross@suse.com>,
	Thomas Gleixner <tglx@kernel.org>, Ingo Molnar <mingo@redhat.com>,
	Borislav Petkov <bp@alien8.de>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	"H. Peter Anvin" <hpa@zytor.com>
Subject: [PATCH 4/4] x86/msr: Remove wrmsrl()
Date: Mon,  8 Jun 2026 10:28:09 +0200	[thread overview]
Message-ID: <20260608082809.3492719-5-jgross@suse.com> (raw)
In-Reply-To: <20260608082809.3492719-1-jgross@suse.com>

wrmsrl() has no users left. Delete it.

Signed-off-by: Juergen Gross <jgross@suse.com>
---
 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


  parent reply	other threads:[~2026-06-08  8:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-08  8:28 [PATCH 0/4] x86/msr: Get rid of rdmsrl() and wrmsrl() Juergen Gross
2026-06-08  8:28 ` [PATCH 1/4] x86/msr: Switch rdmsrl() users to rdmsrq() Juergen Gross
2026-06-08 11:27   ` [tip: x86/msr] " tip-bot2 for Juergen Gross
2026-06-08  8:28 ` [PATCH 2/4] x86/msr: Remove rdmsrl() Juergen Gross
2026-06-08 11:27   ` [tip: x86/msr] " tip-bot2 for Juergen Gross
2026-06-08  8:28 ` [PATCH 3/4] x86/msr: Switch wrmsrl() users to wrmsrq() Juergen Gross
2026-06-08 11:27   ` [tip: x86/msr] " tip-bot2 for Juergen Gross
2026-06-08  8:28 ` Juergen Gross [this message]
2026-06-08 11:27   ` [tip: x86/msr] x86/msr: Remove wrmsrl() tip-bot2 for Juergen Gross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260608082809.3492719-5-jgross@suse.com \
    --to=jgross@suse.com \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@kernel.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®