diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-06-01 11:04:08 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-06-01 11:04:08 +0100 |
commit | 63725a8c546ac77dc6a1c60f91dd70675a5fec0f (patch) | |
tree | e564d7dbaf5477a127c04dc37c07f75122ccf323 /xen/arch/x86/smp.c | |
parent | f55efa2b1848289293fa813ecbe2a1ddb24fe5ed (diff) | |
download | xen-63725a8c546ac77dc6a1c60f91dd70675a5fec0f.tar.gz xen-63725a8c546ac77dc6a1c60f91dd70675a5fec0f.tar.bz2 xen-63725a8c546ac77dc6a1c60f91dd70675a5fec0f.zip |
smp_call_function/on_selected_cpus/on_each_cpu all return void.
None of them can fail, so a return code is pointless.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/arch/x86/smp.c')
-rw-r--r-- | xen/arch/x86/smp.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xen/arch/x86/smp.c b/xen/arch/x86/smp.c index 0483ac5f10..650835ff1f 100644 --- a/xen/arch/x86/smp.c +++ b/xen/arch/x86/smp.c @@ -274,17 +274,17 @@ static struct call_data_struct { cpumask_t selected; } call_data; -int smp_call_function( +void smp_call_function( void (*func) (void *info), void *info, int wait) { cpumask_t allbutself = cpu_online_map; cpu_clear(smp_processor_id(), allbutself); - return on_selected_cpus(&allbutself, func, info, wait); + on_selected_cpus(&allbutself, func, info, wait); } -int on_selected_cpus( +void on_selected_cpus( const cpumask_t *selected, void (*func) (void *info), void *info, @@ -323,7 +323,6 @@ int on_selected_cpus( out: spin_unlock(&call_lock); - return 0; } static void __stop_this_cpu(void) |