]> git.hungrycats.org Git - linux/commit
[PATCH] USB: UHCI: Get rid of excessive spinlocks
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 25 Mar 2004 09:18:01 +0000 (01:18 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Thu, 25 Mar 2004 09:18:01 +0000 (01:18 -0800)
commit33d61f2420b1e7521a89107ece6a4ed758d25b28
treeaa817919c7f31dae788874e696e9259369877585
parent2212df84bf7b5cf81759829a7854e6ebe9335fcf
[PATCH] USB: UHCI: Get rid of excessive spinlocks

This patch introduces a major simplification into the UHCI driver by
replacing its multiple spinlocks with a single one.  The protected area of
code is slightly larger and there's more possibilities for contention on
an SMP system, but I think that shouldn't be a problem.  Stephen Hemminger
has been kind enough to test this on his SMP computer and he hasn't
encountered any difficulties.
drivers/usb/host/uhci-debug.c
drivers/usb/host/uhci-hcd.c
drivers/usb/host/uhci-hcd.h