]> www.infradead.org Git - users/hch/misc.git/commit
x86/cpu: Make topology_amd_node_id() use the actual node info
authorThomas Gleixner <tglx@linutronix.de>
Tue, 13 Feb 2024 21:04:18 +0000 (22:04 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 15 Feb 2024 21:07:38 +0000 (22:07 +0100)
commit03fa6bea5a3e13ccbc211af1fa7e75d34239a408
tree1cb96d0ad755d83664065c80c0e0643f92d943b5
parentd805a6916037a716e858a0a91d844bad1ca8f48b
x86/cpu: Make topology_amd_node_id() use the actual node info

Now that everything is converted switch it over and remove the intermediate
operation.

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.334185785@linutronix.de
arch/x86/include/asm/topology.h
arch/x86/kernel/cpu/topology_common.c