]> xenbits.xensource.com Git - people/iwj/xen.git/commitdiff
x86: remove unused parameter from smp_prepare_cpus
authorWei Liu <wei.liu2@citrix.com>
Fri, 6 Apr 2018 09:36:45 +0000 (10:36 +0100)
committerWei Liu <wei.liu2@citrix.com>
Mon, 9 Apr 2018 09:51:27 +0000 (10:51 +0100)
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/x86/setup.c
xen/arch/x86/smpboot.c
xen/include/xen/smp.h

index b521db25a82709dd83b1f872c02bdea9926110ea..b2baee3d2cbc146e021c5fb393182a790e68799f 100644 (file)
@@ -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();
 
index e7f5504ec3afebd9b47c87cb8b550f7cbb7c8683..103d8f7142e06b0e3c97d1bbe53ffe9201a1c126 100644 (file)
@@ -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;
 
index c55f57f09ef8607bf06df120b928d2e22c1f7f75..a64c9b3882dee00fed39fb76b8d7c61a840d7691 100644 (file)
@@ -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