From: Wei Liu Date: Fri, 6 Apr 2018 09:36:45 +0000 (+0100) Subject: x86: remove unused parameter from smp_prepare_cpus X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~206 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f20a6e30931a92c9810ff21cfdcd85e22f12cddc;p=xen.git x86: remove unused parameter from smp_prepare_cpus Signed-off-by: Wei Liu Acked-by: Andrew Cooper Release-acked-by: Juergen Gross --- diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c index b521db25a8..b2baee3d2c 100644 --- a/xen/arch/x86/setup.c +++ b/xen/arch/x86/setup.c @@ -1595,7 +1595,7 @@ void __init noreturn __start_xen(unsigned long mbi_p) iommu_setup(); /* setup iommu if available */ - smp_prepare_cpus(max_cpus); + smp_prepare_cpus(); spin_debug_enable(); diff --git a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c index e7f5504ec3..103d8f7142 100644 --- a/xen/arch/x86/smpboot.c +++ b/xen/arch/x86/smpboot.c @@ -1022,7 +1022,7 @@ static struct notifier_block cpu_smpboot_nfb = { .notifier_call = cpu_smpboot_callback }; -void __init smp_prepare_cpus(unsigned int max_cpus) +void __init smp_prepare_cpus(void) { int rc; diff --git a/xen/include/xen/smp.h b/xen/include/xen/smp.h index c55f57f09e..a64c9b3882 100644 --- a/xen/include/xen/smp.h +++ b/xen/include/xen/smp.h @@ -17,7 +17,7 @@ extern void smp_send_state_dump(unsigned int cpu); /* * Prepare machine for booting other CPUs. */ -extern void smp_prepare_cpus(unsigned int max_cpus); +extern void smp_prepare_cpus(void); /* * Final polishing of CPUs