]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/cpu: Get rid of the smp_store_cpu_info() indirection
authorThomas Gleixner <tglx@linutronix.de>
Tue, 4 Mar 2025 08:51:19 +0000 (09:51 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 4 Mar 2025 10:17:33 +0000 (11:17 +0100)
commit535d9a82702ee75b0da6e4547f367beeeef184a3
treeae6998f5fe90fa48705e93037d44d4da641cae62
parent8b7e54b542103753619a37cbb3216849a934872f
x86/cpu: Get rid of the smp_store_cpu_info() indirection

smp_store_cpu_info() is just a wrapper around identify_secondary_cpu()
without further value.

Move the extra bits from smp_store_cpu_info() into identify_secondary_cpu()
and remove the wrapper.

[ darwi: Make it compile and fix up the xen/smp_pv.c instance ]

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20250304085152.51092-9-darwi@linutronix.de
arch/x86/include/asm/processor.h
arch/x86/include/asm/smp.h
arch/x86/kernel/cpu/common.c
arch/x86/kernel/smpboot.c
arch/x86/xen/smp_pv.c