commit | 9090589d87506c578ea1523ffd7ae7fd9424fb28 | [log] [tgz] |
---|---|---|
author | Shaohua Li <shaohua.li@intel.com> | Tue Apr 07 10:24:29 2009 +0800 |
committer | Len Brown <len.brown@intel.com> | Tue Apr 07 00:02:40 2009 -0400 |
tree | 215163d13dbfa514a4121594cd4c6e27fde9b911 | |
parent | d508afb437daee7cf07da085b635c44a4ebf9b38 [diff] |
ACPI: convert acpi_device_lock spinlock to mutex 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>