Skip to content

Commit

Permalink
x86/apic: Remove noisy zero-mask warning from default_send_IPI_mask_l…
Browse files Browse the repository at this point in the history
…ogical()

Since circa 3.5, we've had dozens of reports of people hitting
this warning. Forwarded reports have been met with silence, so
just remove the warning if no-one cares.

Example reports:

  https://bugzilla.redhat.com/show_bug.cgi?id=797687
  https://bugzilla.redhat.com/show_bug.cgi?id=867174
  https://bugzilla.redhat.com/show_bug.cgi?id=894865

Signed-off-by: Dave Jones <davej@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20130118175847.GA27662@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
  • Loading branch information
Dave Jones authored and Ingo Molnar committed Jan 24, 2013
1 parent ff7532c commit e3f0f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/apic/ipi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e3f0f36

Please sign in to comment.