ACPI: dock: use mutex instead of spinlock
authorKristen Carlson Accardi <kristen.c.accardi@intel.com>
Mon, 30 Oct 2006 19:18:45 +0000 (11:18 -0800)
committerLen Brown <len.brown@intel.com>
Mon, 30 Oct 2006 20:12:40 +0000 (15:12 -0500)
commit8b0dc866dd9b8d10a53cb3537385a51b7ee54b62
tree85c77ff74fba34ff67865ec2f819b6253e044e2e
parentc1b707d253fe918b92882cff1dbd926b47e14fd2
ACPI: dock: use mutex instead of spinlock

http://bugzilla.kernel.org/show_bug.cgi?id=7303

Use a mutex instead of a spinlock for locking the
hotplug list because we need to call into the ACPI
subsystem which might sleep.

Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/dock.c