| From 8dded56a71cdd665c603f24947e74734c7db9625 Mon Sep 17 00:00:00 2001 |
| From: Thomas Gleixner <tglx@linutronix.de> |
| Date: Tue, 15 Sep 2009 21:09:40 +0200 |
| Subject: [PATCH] x86: Suppress empty cpumask ipi warning |
| |
| commit 9425c8dcf9f42569334bf249e48e6666d4d29cba in tip. |
| |
| We know already which code pathes trigger this so we can safely |
| disable it again and just keep the early return when mask == 0. |
| |
| Signed-off-by: Thomas Gleixner <tglx@linutronix.de> |
| |
| diff --git a/arch/x86/kernel/apic/ipi.c b/arch/x86/kernel/apic/ipi.c |
| index 08385e0..54e774d 100644 |
| --- a/arch/x86/kernel/apic/ipi.c |
| +++ b/arch/x86/kernel/apic/ipi.c |
| @@ -106,7 +106,7 @@ 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")) |
| + if (!mask) |
| return; |
| |
| local_irq_save(flags); |
| -- |
| 1.7.1.1 |
| |