rpms/kernel/devel linux-2.6-dmadebug-spinlock.patch, NONE, 1.1 config-generic, 1.301, 1.302 kernel.spec, 1.1624, 1.1625

Dave Jones davej at fedoraproject.org
Fri Jul 10 00:04:56 UTC 2009


Author: davej

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

Modified Files:
	config-generic kernel.spec 
Added Files:
	linux-2.6-dmadebug-spinlock.patch 
Log Message:
Use correct spinlock initialization in dma-debug

linux-2.6-dmadebug-spinlock.patch:

--- NEW FILE linux-2.6-dmadebug-spinlock.patch ---
--- linux-2.6.30.noarch/lib/dma-debug.c~	2009-07-09 20:02:56.000000000 -0400
+++ linux-2.6.30.noarch/lib/dma-debug.c	2009-07-09 20:03:06.000000000 -0400
@@ -716,7 +716,7 @@ void dma_debug_init(u32 num_entries)
 
 	for (i = 0; i < HASH_SIZE; ++i) {
 		INIT_LIST_HEAD(&dma_entry_hash[i].list);
-		dma_entry_hash[i].lock = SPIN_LOCK_UNLOCKED;
+		spin_lock_init(&dma_entry_hash[i].lock);
 	}
 
 	if (dma_debug_fs_init() != 0) {


Index: config-generic
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/config-generic,v
retrieving revision 1.301
retrieving revision 1.302
diff -u -p -r1.301 -r1.302
--- config-generic	8 Jul 2009 20:36:52 -0000	1.301
+++ config-generic	10 Jul 2009 00:04:55 -0000	1.302
@@ -1809,6 +1809,7 @@ CONFIG_INPUT_KEYBOARD=y
 CONFIG_KEYBOARD_ATKBD=y
 # CONFIG_KEYBOARD_SUNKBD is not set
 # CONFIG_KEYBOARD_XTKBD is not set
+# CONFIG_KEYBOARD_MATRIX is not set
 # CONFIG_KEYBOARD_NEWTON is not set
 # CONFIG_KEYBOARD_STOWAWAY is not set
 # CONFIG_KEYBOARD_LKKBD is not set


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.1624
retrieving revision 1.1625
diff -u -p -r1.1624 -r1.1625
--- kernel.spec	10 Jul 2009 00:00:12 -0000	1.1624
+++ kernel.spec	10 Jul 2009 00:04:56 -0000	1.1625
@@ -673,6 +673,8 @@ Patch2900: linux-2.6-v4l-dvb-update.patc
 Patch2901: linux-2.6-v4l-dvb-experimental.patch
 Patch2903: linux-2.6-revert-dvb-net-kabi-change.patch
 
+Patch3000: linux-2.6-dmadebug-spinlock.patch
+
 # fs fixes
 
 # NFSv4
@@ -1128,6 +1130,9 @@ ApplyPatch linux-2.6.29-sparc-IOC_TYPECH
 #
 ApplyPatch linux-2.6-execshield.patch
 
+
+ApplyPatch linux-2.6-dmadebug-spinlock.patch
+
 #
 # bugfixes to drivers and filesystems
 #
@@ -1864,6 +1869,9 @@ fi
 # and build.
 
 %changelog
+* Thu Jul 09 2009 Dave Jones <davej at redhat.com> 2.6.31-0.62.rc2.git4
+- Use correct spinlock initialization in dma-debug
+
 * Thu Jul 09 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.31-0.61.rc2.git4
 - 2.6.31-rc2-git4
 




More information about the fedora-extras-commits mailing list