From: Wei Liu <wei.liu2@citrix.com>
To: Xen-devel <xen-devel@lists.xenproject.org>
Cc: Juergen Gross <jgross@suse.com>,
Andrew Cooper <andrew.cooper3@citrix.com>,
Wei Liu <wei.liu2@citrix.com>, Jan Beulich <JBeulich@suse.com>
Subject: [PATCH for-4.11 2/2] x86: remove unused parameter from smp_prepare_cpus
Date: Fri, 6 Apr 2018 10:36:45 +0100 [thread overview]
Message-ID: <20180406093645.6444-3-wei.liu2@citrix.com> (raw)
In-Reply-To: <20180406093645.6444-1-wei.liu2@citrix.com>
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
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@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next prev parent reply other threads:[~2018-04-06 9:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-06 9:36 [PATCH for-4.11 0/2] x86: two small cleanup patches Wei Liu
2018-04-06 9:36 ` [PATCH for-4.11 1/2] x86/cpu: get more information out from *_init_levelling Wei Liu
2018-04-06 9:40 ` Andrew Cooper
2018-04-06 9:43 ` Wei Liu
2018-04-06 9:36 ` Wei Liu [this message]
2018-04-06 9:40 ` [PATCH for-4.11 2/2] x86: remove unused parameter from smp_prepare_cpus Andrew Cooper
2018-04-06 16:49 ` Juergen Gross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180406093645.6444-3-wei.liu2@citrix.com \
--to=wei.liu2@citrix.com \
--cc=JBeulich@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=jgross@suse.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.