summaryrefslogtreecommitdiff
path: root/include/acpi
diff options
context:
space:
mode:
authorShaohua Li <shaohua.li@intel.com>2009-04-07 10:24:29 +0800
committerLen Brown <len.brown@intel.com>2009-04-07 00:02:40 -0400
commit9090589d87506c578ea1523ffd7ae7fd9424fb28 (patch)
tree215163d13dbfa514a4121594cd4c6e27fde9b911 /include/acpi
parentd508afb437daee7cf07da085b635c44a4ebf9b38 (diff)
downloadlwn-9090589d87506c578ea1523ffd7ae7fd9424fb28.tar.gz
lwn-9090589d87506c578ea1523ffd7ae7fd9424fb28.zip
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>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions