|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH for-4.11 2/2] x86: remove unused parameter from smp_prepare_cpus
Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
xen/arch/x86/setup.c | 2 +-
xen/arch/x86/smpboot.c | 2 +-
xen/include/xen/smp.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c
index c0b97a748a..49cf963d7a 100644
--- a/xen/arch/x86/setup.c
+++ b/xen/arch/x86/setup.c
@@ -1576,7 +1576,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 98873df429..5daa7936aa 100644
--- a/xen/arch/x86/smpboot.c
+++ b/xen/arch/x86/smpboot.c
@@ -1030,7 +1030,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
--
2.11.0
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |