Merge branch 'x86/pat' into x86/urgent
[~shefty/rdma-dev.git] / arch / x86 / kernel / apic / ipi.c
index e6b4f517fcfec971df1a1bf47434da9f91c983d6..08385e090a6f2fa830d796a67709ede023b1f6c5 100644 (file)
@@ -106,6 +106,9 @@ void default_send_IPI_mask_logical(const struct cpumask *cpumask, int vector)
        unsigned long mask = cpumask_bits(cpumask)[0];
        unsigned long flags;
 
+       if (WARN_ONCE(!mask, "empty IPI mask"))
+               return;
+
        local_irq_save(flags);
        WARN_ON(mask & ~cpumask_bits(cpu_online_mask)[0]);
        __default_send_IPI_dest_field(mask, vector, apic->dest_logical);