|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] x86: remove unused parameter from smp_prepare_cpus
commit f20a6e30931a92c9810ff21cfdcd85e22f12cddc
Author: Wei Liu <wei.liu2@xxxxxxxxxx>
AuthorDate: Fri Apr 6 10:36:45 2018 +0100
Commit: Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Mon Apr 9 10:51:27 2018 +0100
x86: remove unused parameter from smp_prepare_cpus
Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Release-acked-by: Juergen Gross <jgross@xxxxxxxx>
---
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 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
--
generated by git-patchbot for /home/xen/git/xen.git#master
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |