summaryrefslogtreecommitdiff
path: root/drivers/scsi/ips.c
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2008-02-17 11:24:51 -0600
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-02-18 09:02:25 -0600
commitff83efacf2b77a1fe8942db6613825a4b80ee5e2 (patch)
tree4eb14ace67f773a18e6f712304d0b7aa1ac1f9ee /drivers/scsi/ips.c
parent279e7f5425c5e6da6ca61b1d8576356a939789f9 (diff)
downloadlinux-3.10-ff83efacf2b77a1fe8942db6613825a4b80ee5e2.tar.gz
linux-3.10-ff83efacf2b77a1fe8942db6613825a4b80ee5e2.tar.bz2
linux-3.10-ff83efacf2b77a1fe8942db6613825a4b80ee5e2.zip
[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 <stable@kernel.org> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/ips.c')
0 files changed, 0 insertions, 0 deletions