[kernel/f17] Remove empty IPI mask warnings.
Dave Jones
davej at fedoraproject.org
Wed Jan 23 16:04:40 UTC 2013
commit c7ce3f8cd6535d87f745d4d0eaa5919298a04703
Author: Dave Jones <davej at redhat.com>
Date: Wed Jan 23 11:04:30 2013 -0500
Remove empty IPI mask warnings.
kernel.spec | 7 +++++++
silence-empty-ipi-mask-warning.patch | 11 +++++++++++
2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index 6386214..8332634 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -659,6 +659,7 @@ Patch510: linux-2.6-silence-noise.patch
Patch520: quite-apm.patch
Patch530: linux-2.6-silence-fbcon-logo.patch
+Patch540: silence-empty-ipi-mask-warning.patch
Patch700: linux-2.6-e1000-ich9-montevina.patch
@@ -1368,6 +1369,9 @@ ApplyPatch linux-2.6-silence-noise.patch
# Make fbcon not show the penguins with 'quiet'
ApplyPatch linux-2.6-silence-fbcon-logo.patch
+# No-one cares about these warnings
+ApplyPatch silence-empty-ipi-mask-warning.patch
+
# Changes to upstream defaults.
@@ -2299,6 +2303,9 @@ fi
# '-' | |
# '-'
%changelog
+* Wed Jan 23 2013 Dave Jones <davej at redhat.com>
+- Remove empty IPI mask warnings.
+
* Tue Jan 22 2013 Justin M. Forbes <jforbes at redhat.com>
- Add i915 bugfix from airlied
diff --git a/silence-empty-ipi-mask-warning.patch b/silence-empty-ipi-mask-warning.patch
new file mode 100644
index 0000000..65a637c
--- /dev/null
+++ b/silence-empty-ipi-mask-warning.patch
@@ -0,0 +1,11 @@
+--- linux-3.6.noarch/arch/x86/kernel/apic/ipi.c~ 2013-01-23 10:48:14.716069615 -0500
++++ linux-3.6.noarch/arch/x86/kernel/apic/ipi.c 2013-01-23 10:48:26.217046545 -0500
+@@ -106,7 +106,7 @@ void default_send_IPI_mask_logical(const
+ unsigned long mask = cpumask_bits(cpumask)[0];
+ unsigned long flags;
+
+- if (WARN_ONCE(!mask, "empty IPI mask"))
++ if (!mask)
+ return;
+
+ local_irq_save(flags);
More information about the scm-commits
mailing list