blob: 22bdee597d122725e6716e98220538a4ee420548 [file] [log] [blame]
From 9425c8dcf9f42569334bf249e48e6666d4d29cba 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 6ef00ba..c83acda 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