x86/of: Set the parse_smp_cfg for all the DeviceTree platforms by default
authorSaurabh Sengar <ssengar@linux.microsoft.com>
Tue, 2 Apr 2024 14:40:28 +0000 (07:40 -0700)
committerIngo Molnar <mingo@kernel.org>
Wed, 3 Apr 2024 06:46:08 +0000 (08:46 +0200)
commit222408cde4d0ab17e54d4db26751c2b5cab9ac2b
tree527029165d2850f8b1f9eb5f3fbee510405ee7f5
parentfe5e6b599fbc417662c549c04d278a13098eb52a
x86/of: Set the parse_smp_cfg for all the DeviceTree platforms by default

x86_dtb_parse_smp_config() must be set by DeviceTree platform for
parsing SMP configuration. Set the parse_smp_cfg pointer to
x86_dtb_parse_smp_config() by default so that all the dtb platforms
need not to assign it explicitly. Today there are only two platforms
using DeviceTree in x86, ce4100 and hv_vtl. Remove the explicit
assignment of x86_dtb_parse_smp_config() function from these.

Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/1712068830-4513-3-git-send-email-ssengar@linux.microsoft.com
arch/x86/hyperv/hv_vtl.c
arch/x86/include/asm/prom.h
arch/x86/kernel/devicetree.c
arch/x86/platform/ce4100/ce4100.c