x86/cpu: Remove pointless evaluation of x86_coreid_bits
authorThomas Gleixner <tglx@linutronix.de>
Mon, 14 Aug 2023 08:18:36 +0000 (10:18 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 10 Oct 2023 12:38:18 +0000 (14:38 +0200)
commit594957d723a0674ca15bfefb755b3403624b8239
tree2f414a7aa14016bdb1f09cb92d8b3b2b2f0e14c6
parente3c0c5d52ad34ab2c97f93ca4a0c2e9ca2fdc06b
x86/cpu: Remove pointless evaluation of x86_coreid_bits

cpuinfo_x86::x86_coreid_bits is only used by the AMD numa topology code. No
point in evaluating it on non AMD systems.

No functional change.

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 <mikelley@microsoft.com>
Tested-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Zhang Rui <rui.zhang@intel.com>
Reviewed-by: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20230814085112.687588373@linutronix.de
arch/x86/kernel/cpu/intel.c
arch/x86/kernel/cpu/zhaoxin.c