From: Junxiao Chang <junxiao.chang@intel.com>
To: tglx@kernel.org, mingo@redhat.com, bp@alien8.de,
dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com,
ptesarik@suse.com, nik.borisov@suse.com,
linux-kernel@vger.kernel.org, junxiao.chang@intel.com
Subject: [PATCH] x86/cpu: remove obsolete aperfmperf_get_khz declaration
Date: Sat, 6 Jun 2026 10:15:14 +0800 [thread overview]
Message-ID: <20260606021514.1433619-1-junxiao.chang@intel.com> (raw)
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>
---
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 5c7a3a71191a1..dca2d5845e427 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);
--
2.43.0
next reply other threads:[~2026-06-05 2:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-06 2:15 Junxiao Chang [this message]
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: x86/cleanups] x86/cpu: Remove obsolete aperfmperf_get_khz() declaration tip-bot2 for Junxiao Chang
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=20260606021514.1433619-1-junxiao.chang@intel.com \
--to=junxiao.chang@intel.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=nik.borisov@suse.com \
--cc=ptesarik@suse.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®