summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/topology.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2024-02-13 22:04:15 +0100
committerThomas Gleixner <tglx@linutronix.de>2024-02-15 22:07:38 +0100
commit3279081dd0cb6bc13ffd5ee0e5cb11cfeae2c625 (patch)
tree6e245fa5aeca8dc08ea6dcdbd4b8efbf85367f92 /arch/x86/kernel/cpu/topology.h
parentx86/cpu: Use common topology code for AMD (diff)
downloadlinux-3279081dd0cb6bc13ffd5ee0e5cb11cfeae2c625.tar.xz
linux-3279081dd0cb6bc13ffd5ee0e5cb11cfeae2c625.zip
x86/cpu: Use common topology code for HYGON
Switch it over to use the consolidated topology evaluation and remove the temporary safe guards which are not longer needed. No functional change intended. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Juergen Gross <jgross@suse.com> Tested-by: Sohil Mehta <sohil.mehta@intel.com> Tested-by: Michael Kelley <mhklinux@outlook.com> Tested-by: Zhang Rui <rui.zhang@intel.com> Tested-by: Wang Wendy <wendy.wang@intel.com> Tested-by: K Prateek Nayak <kprateek.nayak@amd.com> Link: https://lore.kernel.org/r/20240212153625.207750409@linutronix.de
Diffstat (limited to 'arch/x86/kernel/cpu/topology.h')
-rw-r--r--arch/x86/kernel/cpu/topology.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/topology.h b/arch/x86/kernel/cpu/topology.h
index 7eead546c20e..2a3c838b6044 100644
--- a/arch/x86/kernel/cpu/topology.h
+++ b/arch/x86/kernel/cpu/topology.h
@@ -15,7 +15,6 @@ struct topo_scan {
u16 amd_node_id;
};
-bool topo_is_converted(struct cpuinfo_x86 *c);
void cpu_init_topology(struct cpuinfo_x86 *c);
void cpu_parse_topology(struct cpuinfo_x86 *c);
void topology_set_dom(struct topo_scan *tscan, enum x86_topology_domains dom,