x86/cpu: remove obsolete aperfmperf_get_khz declaration
PATCH 1/1 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.
--- arch/x86/kernel/cpu/cpu.h | 1 - 1 file changed, 1 deletion(-)
arch/x86/kernel/cpu/cpu.h +0 -1
@@ -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 );
Signature · 1 line
2.43.0
[tip: x86/cleanups] x86/cpu: Remove obsolete aperfmperf_get_khz() declaration
The following commit has been merged into the x86/cleanups branch of tip:
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: c2f8cd535cd4d54ff957ed3440690035d7b55162 Gitweb: https://git.kernel.org/tip/c2f8cd535cd4d54ff957ed3440690035d7b55162 Author: Junxiao Chang <[email protected]> AuthorDate: Sat, 06 Jun 2026 10:15:14 +08:00 Committer: Ingo Molnar <[email protected]> CommitterDate: Fri, 05 Jun 2026 10:41:46 +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.
--- arch/x86/kernel/cpu/cpu.h | 1 - 1 file changed, 1 deletion(-)
arch/x86/kernel/cpu/cpu.h +0 -1
@@ -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 );
Quoted 6 lines · Junxiao Chang
aperfmperf_get_khz()was replaced byarch_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 <[email protected]>
Plain leftover, dunno if a fixes tag is warranted, in any case:
[tip: x86/cleanups] x86/cpu: Remove obsolete aperfmperf_get_khz() declaration
In reply to Junxiao ChangThe following commit has been merged into the x86/cleanups branch of tip:
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 <[email protected]> AuthorDate: Sat, 06 Jun 2026 10:15:14 +08:00 Committer: Ingo Molnar <[email protected]> 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.
--- arch/x86/kernel/cpu/cpu.h | 1 - 1 file changed, 1 deletion(-)
arch/x86/kernel/cpu/cpu.h +0 -1
@@ -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 );