ACPI: convert acpi_device_lock spinlock to mutex
authorShaohua Li <shaohua.li@intel.com>
Tue, 7 Apr 2009 02:24:29 +0000 (10:24 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 7 Apr 2009 04:02:40 +0000 (00:02 -0400)
Convert acpi_device_lock to a mutex to avoid
a potential race upon access to /proc/acpi/wakeup

Delete the lock entirely in wakeup.c
since it is not necessary (and can not sleep)

Found-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>

No differences found