mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "tip-bot2 for Junxiao Chang" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: Junxiao Chang <junxiao.chang@intel.com>,
	Ingo Molnar <mingo@kernel.org>,
	Nikolay Borisov <nik.borisov@suse.com>,
	x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [tip: x86/cleanups] x86/cpu: Remove obsolete aperfmperf_get_khz() declaration
Date: Fri, 05 Jun 2026 13:13:42 -0000	[thread overview]
Message-ID: <178066522252.710.2754812699040677649.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20260606021514.1433619-1-junxiao.chang@intel.com>

The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID:     a5f28da54f36f1a8b289d9bdd3e780b2ede0da6f
Gitweb:        https://git.kernel.org/tip/a5f28da54f36f1a8b289d9bdd3e780b2ede0da6f
Author:        Junxiao Chang <junxiao.chang@intel.com>
AuthorDate:    Sat, 06 Jun 2026 10:15:14 +08:00
Committer:     Ingo Molnar <mingo@kernel.org>
CommitterDate: Fri, 05 Jun 2026 15:10:25 +02:00

x86/cpu: Remove obsolete aperfmperf_get_khz() declaration

aperfmperf_get_khz() was replaced by arch_freq_get_on_cpu().
The remaining declaration in the header file is no longer used
and should be removed.

Fixes: f3eca381bd49 ("x86/aperfmperf: Replace arch_freq_get_on_cpu()")
Signed-off-by: Junxiao Chang <junxiao.chang@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Nikolay Borisov <nik.borisov@suse.com>
Link: https://patch.msgid.link/20260606021514.1433619-1-junxiao.chang@intel.com
---
 arch/x86/kernel/cpu/cpu.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/kernel/cpu/cpu.h b/arch/x86/kernel/cpu/cpu.h
index 5c7a3a7..dca2d58 100644
--- a/arch/x86/kernel/cpu/cpu.h
+++ b/arch/x86/kernel/cpu/cpu.h
@@ -75,7 +75,6 @@ static inline struct amd_northbridge *amd_init_l3_cache(int index)
 }
 #endif
 
-unsigned int aperfmperf_get_khz(int cpu);
 void cpu_select_mitigations(void);
 
 extern void x86_spec_ctrl_setup_ap(void);

      parent reply	other threads:[~2026-06-05 13:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-06  2:15 [PATCH] x86/cpu: remove obsolete aperfmperf_get_khz declaration Junxiao Chang
2026-06-05  8:42 ` [tip: x86/cleanups] x86/cpu: Remove obsolete aperfmperf_get_khz() declaration tip-bot2 for Junxiao Chang
2026-06-05 12:58 ` [PATCH] x86/cpu: remove obsolete aperfmperf_get_khz declaration Nikolay Borisov
2026-06-05 13:13 ` tip-bot2 for Junxiao Chang [this message]

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=178066522252.710.2754812699040677649.tip-bot2@tip-bot2 \
    --to=tip-bot2@linutronix.de \
    --cc=junxiao.chang@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=nik.borisov@suse.com \
    --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®