rpms/kernel/devel kernel.spec, 1.1691, 1.1692 linux-2.6-pci-cacheline-sizing.patch, 1.1, 1.2

Dave Jones davej at fedoraproject.org
Wed Aug 5 05:37:46 UTC 2009


Author: davej

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23926

Modified Files:
	kernel.spec linux-2.6-pci-cacheline-sizing.patch 
Log Message:
Fix shift in pci cacheline size printk.


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.1691
retrieving revision 1.1692
diff -u -p -r1.1691 -r1.1692
--- kernel.spec	5 Aug 2009 00:45:59 -0000	1.1691
+++ kernel.spec	5 Aug 2009 05:37:45 -0000	1.1692
@@ -1943,6 +1943,9 @@ fi
 # and build.
 
 %changelog
+* Wed Aug 05 2009 Dave Jones <davej at redhat.com>
+- Fix shift in pci cacheline size printk.
+
 * Wed Aug 05 2009 Dave Airlie <airlied at redhat.com> 2.6.31.0.128.rc5.git3
 - 2.6.31-rc5-git3
 - drop cpufreq + set memory fixes

linux-2.6-pci-cacheline-sizing.patch:
 common.c |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

Index: linux-2.6-pci-cacheline-sizing.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/linux-2.6-pci-cacheline-sizing.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- linux-2.6-pci-cacheline-sizing.patch	21 Jun 2009 22:22:50 -0000	1.1
+++ linux-2.6-pci-cacheline-sizing.patch	5 Aug 2009 05:37:46 -0000	1.2
@@ -30,7 +30,7 @@ index 2202b62..f371fe8 100644
 +	if (c->x86_clflush_size > 0) {
 +		pci_cache_line_size = c->x86_clflush_size >> 2;
 +		printk(KERN_DEBUG "PCI: pci_cache_line_size set to %d bytes\n",
-+			pci_cache_line_size >> 2);
++			pci_cache_line_size << 2);
 +	} else {
 +		pci_cache_line_size = 32 >> 2;
 +		printk(KERN_DEBUG "PCI: Unknown cacheline size. Setting to 32 bytes\n");




More information about the fedora-extras-commits mailing list