x86/cpu: Move __max_die_per_package to common.c
authorThomas Gleixner <tglx@linutronix.de>
Tue, 13 Feb 2024 21:04:05 +0000 (22:04 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 15 Feb 2024 21:07:37 +0000 (22:07 +0100)
commit92853a7774f942e3692dbd83bace82333a2b47bd
treebd6b87c9fc806e2048cf21fe9a9a3dc2fc49fa79
parent598e719c40d67b1473d78423e941bed4ea6c726d
x86/cpu: Move __max_die_per_package to common.c

In preparation of a complete replacement for the topology leaf 0xb/0x1f
evaluation, move __max_die_per_package into the common code.

Will be removed once everything is converted over.

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/20240212153624.768188958@linutronix.de
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/topology.c