From 7126bd54ea812d88568cddf3be4519e26b500ebe Mon Sep 17 00:00:00 2001 From: Thomas Gleixner 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 Signed-off-by: Paul Gortmaker --- arch/x86/kernel/apic/ipi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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.0.4