diff options
author | Julien Grall <julien.grall@citrix.com> | 2013-05-07 12:05:06 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-05-08 11:06:22 +0100 |
commit | 68385d841171d46985e2c41d751a2b81b3b3813b (patch) | |
tree | d7b97fc50ff811a134e804c29803aa88a354c1f6 /xen/arch/arm/smp.c | |
parent | a32dbcef6d917e6019e2a5a1467276a555d7ec34 (diff) | |
download | xen-68385d841171d46985e2c41d751a2b81b3b3813b.tar.gz xen-68385d841171d46985e2c41d751a2b81b3b3813b.tar.bz2 xen-68385d841171d46985e2c41d751a2b81b3b3813b.zip |
xen/arm: implement smp_call_function
Move smp_call_function and on_selected_cpus to common code.
Signed-off-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/arm/smp.c')
-rw-r--r-- | xen/arch/arm/smp.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/xen/arch/arm/smp.c b/xen/arch/arm/smp.c index 2a429bdb39..4042db5507 100644 --- a/xen/arch/arm/smp.c +++ b/xen/arch/arm/smp.c @@ -11,17 +11,14 @@ void flush_tlb_mask(const cpumask_t *mask) flush_xen_data_tlb(); } -void smp_call_function( - void (*func) (void *info), - void *info, - int wait) +void smp_send_event_check_mask(const cpumask_t *mask) { - printk("%s not implmented\n", __func__); + send_SGI_mask(mask, GIC_SGI_EVENT_CHECK); } -void smp_send_event_check_mask(const cpumask_t *mask) +void smp_send_call_function_mask(const cpumask_t *mask) { - send_SGI_mask(mask, GIC_SGI_EVENT_CHECK); + send_SGI_mask(mask, GIC_SGI_CALL_FUNCTION); } /* |