* Change the send_IPI_mask function in xen to not require a local cpumask_t variable. Applies to linux-2.6.tip/master. Signed-off-by: Mike Travis --- arch/x86/xen/smp.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) --- linux-2.6.tip.orig/arch/x86/xen/smp.c +++ linux-2.6.tip/arch/x86/xen/smp.c @@ -358,15 +358,11 @@ static void xen_smp_send_reschedule(int xen_send_IPI_one(cpu, XEN_RESCHEDULE_VECTOR); } -static void xen_send_IPI_mask(const cpumask_t *inmask, enum ipi_vector vector) +static void xen_send_IPI_mask(const cpumask_t *mask, enum ipi_vector vector) { unsigned cpu; - cpumask_t mask; - mask = *inmask; - cpus_and(mask, mask, cpu_online_map); - - for_each_cpu_mask_nr(cpu, mask) + for_each_online_cpu_mask_nr(cpu, *mask) xen_send_IPI_one(cpu, vector); } -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/