[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20251222085636.1274189-1-yuehaibing@huawei.com>
Date: Mon, 22 Dec 2025 16:56:36 +0800
From: Yue Haibing <yuehaibing@...wei.com>
To: <tglx@...utronix.de>, <mingo@...hat.com>, <bp@...en8.de>,
<dave.hansen@...ux.intel.com>, <x86@...nel.org>, <hpa@...or.com>,
<darwi@...utronix.de>
CC: <linux-kernel@...r.kernel.org>, <yuehaibing@...wei.com>
Subject: [PATCH -next] x86/aperfmperf: Remove unused declaration aperfmperf_get_khz()
Since commit f3eca381bd49 ("x86/aperfmperf: Replace arch_freq_get_on_cpu()")
this declaration is unused anymore.
Signed-off-by: Yue Haibing <yuehaibing@...wei.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 5c7a3a71191a..dca2d5845e42 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.34.1
Powered by blists - more mailing lists