From: James Bottomley Date: Sun, 17 Feb 2008 17:24:51 +0000 (-0600) Subject: [SCSI] gdth: don't call pci_free_consistent under spinlock X-Git-Tag: v2.6.25-rc3~69^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff83efacf2b77a1fe8942db6613825a4b80ee5e2;p=pandora-kernel.git [SCSI] gdth: don't call pci_free_consistent under spinlock The spinlock is held over too large a region: pscratch is a permanent address (it's allocated at boot time and never changes). All you need the smp lock for is mediating the scratch in use flag, so fix this by moving the spinlock into the case where we set the pscratch_busy flag to false. Cc: Stable Tree Signed-off-by: James Bottomley --- Reading git-diff-tree failed