diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-05-27 11:16:27 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-05-27 11:16:27 +0100 |
commit | d655e37925bdb9fb3b50046248f9992ca8828077 (patch) | |
tree | 1eaecc8cd372ca7c181eec7672cdb89a3c9a0e38 /xen/arch/x86/smp.c | |
parent | c3da952a0261cb2fa381154a6f22b758a4bd843b (diff) | |
download | xen-d655e37925bdb9fb3b50046248f9992ca8828077.tar.gz xen-d655e37925bdb9fb3b50046248f9992ca8828077.tar.bz2 xen-d655e37925bdb9fb3b50046248f9992ca8828077.zip |
Remove unused 'retry' parameter from on_selected_cpus() etc.
Remove the unused "retry" parameter of on_selected_cpus(),
on_each_cpu(), smp_call_function(), and smp_call_function_single().
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/arch/x86/smp.c')
-rw-r--r-- | xen/arch/x86/smp.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xen/arch/x86/smp.c b/xen/arch/x86/smp.c index 0bf82da494..9c1475051a 100644 --- a/xen/arch/x86/smp.c +++ b/xen/arch/x86/smp.c @@ -239,19 +239,17 @@ static void __smp_call_function_interrupt(void); int smp_call_function( void (*func) (void *info), void *info, - int retry, int wait) { cpumask_t allbutself = cpu_online_map; cpu_clear(smp_processor_id(), allbutself); - return on_selected_cpus(&allbutself, func, info, retry, wait); + return on_selected_cpus(&allbutself, func, info, wait); } int on_selected_cpus( const cpumask_t *selected, void (*func) (void *info), void *info, - int retry, int wait) { struct call_data_struct data; @@ -322,7 +320,7 @@ void smp_send_stop(void) { int timeout = 10; - smp_call_function(stop_this_cpu, NULL, 1, 0); + smp_call_function(stop_this_cpu, NULL, 0); /* Wait 10ms for all other CPUs to go offline. */ while ( (num_online_cpus() > 1) && (timeout-- > 0) ) |