[kernel/f16] Remove warning about empty IPI mask.

Dave Jones davej at fedoraproject.org
Wed Jan 23 15:51:01 UTC 2013


commit a3dd486e63c9acb1b39b5af9f2a08171934d29d2
Author: Dave Jones <davej at redhat.com>
Date:   Wed Jan 23 10:50:51 2013 -0500

    Remove warning about empty IPI mask.

 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 1e30ecf..2555966 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -627,6 +627,7 @@ Patch470: die-floppy-die.patch
 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
 
@@ -1295,6 +1296,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.
 
 
@@ -2111,6 +2115,9 @@ fi
 # and build.
 
 %changelog
+* Wed Jan 23 2013 Dave Jones <davej at redhat.com>
+- Remove warning about empty IPI mask.
+
 * Wed Jan 16 2013 Justin M. Forbes <jforbes at redhat.com> 3.6.11-6
 - Fix resize2fs issue with ext4 (rhbz 852833)
 - Fix for CVE-2013-0190 xen corruption with 32bit pvops (rhbz 896051 896038)
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