x86/smpboot: Cleanup topology_phys_to_logical_pkg()/die()
authorThomas Gleixner <tglx@linutronix.de>
Fri, 12 May 2023 21:06:58 +0000 (23:06 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 15 May 2023 11:44:47 +0000 (13:44 +0200)
commit5107e3ebb868d99872e1b64b054ccfcdad79d5d7
treed2ea2ff7d2cdc5f641d84f34fa42627007cd6ef5
parentf1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6
x86/smpboot: Cleanup topology_phys_to_logical_pkg()/die()

Make topology_phys_to_logical_pkg_die() static as it's only used in
smpboot.c and fixup the kernel-doc warnings for both functions.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Tested-by: Helge Deller <deller@gmx.de> # parisc
Tested-by: Guilherme G. Piccoli <gpiccoli@igalia.com> # Steam Deck
Link: https://lore.kernel.org/r/20230512205255.493750666@linutronix.de
arch/x86/include/asm/topology.h
arch/x86/kernel/smpboot.c