mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86/cpu: remove obsolete aperfmperf_get_khz declaration
@ 2026-06-06  2:15 Junxiao Chang
  2026-06-05  8:42 ` [tip: x86/cleanups] x86/cpu: Remove obsolete aperfmperf_get_khz() declaration tip-bot2 for Junxiao Chang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Junxiao Chang @ 2026-06-06  2:15 UTC (permalink / raw)
  To: tglx, mingo, bp, dave.hansen, x86, hpa, ptesarik, nik.borisov,
	linux-kernel, junxiao.chang

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-06-05 13:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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: x86/cleanups] x86/cpu: Remove obsolete aperfmperf_get_khz() declaration tip-bot2 for Junxiao Chang

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®