diff options
| author | Pawan Gupta <pawan.kumar.gupta@linux.intel.com> | 2024-12-11 22:57:41 -0800 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2025-02-27 13:34:52 +0100 |
| commit | db5157df149709c02e6a08c0b3498553bdd2a76c (patch) | |
| tree | 2fa8f72eb32967554e4a5ad2c3b074f4e52d755c /arch/x86/include/asm/cpu.h | |
| parent | perf/x86/intel: Use cache cpu-type for hybrid PMU selection (diff) | |
| download | linux-db5157df149709c02e6a08c0b3498553bdd2a76c.tar.gz linux-db5157df149709c02e6a08c0b3498553bdd2a76c.zip | |
x86/cpu: Remove get_this_hybrid_cpu_*()
Because calls to get_this_hybrid_cpu_type() and
get_this_hybrid_cpu_native_id() are not required now. cpu-type and
native-model-id are cached at boot in per-cpu struct cpuinfo_topology.
Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/r/20241211-add-cpu-type-v5-4-2ae010f50370@linux.intel.com
Diffstat (limited to 'arch/x86/include/asm/cpu.h')
| -rw-r--r-- | arch/x86/include/asm/cpu.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/x86/include/asm/cpu.h b/arch/x86/include/asm/cpu.h index 98eced5084ca..0c8ec62789a1 100644 --- a/arch/x86/include/asm/cpu.h +++ b/arch/x86/include/asm/cpu.h @@ -50,20 +50,6 @@ static inline void split_lock_init(void) {} static inline void bus_lock_init(void) {} #endif -#ifdef CONFIG_CPU_SUP_INTEL -u8 get_this_hybrid_cpu_type(void); -u32 get_this_hybrid_cpu_native_id(void); -#else -static inline u8 get_this_hybrid_cpu_type(void) -{ - return 0; -} - -static inline u32 get_this_hybrid_cpu_native_id(void) -{ - return 0; -} -#endif #ifdef CONFIG_IA32_FEAT_CTL void init_ia32_feat_ctl(struct cpuinfo_x86 *c); #else |
