diff options
author | Shaohua Li <shaohua.li@intel.com> | 2009-04-07 10:24:29 +0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-04-07 00:02:40 -0400 |
commit | 9090589d87506c578ea1523ffd7ae7fd9424fb28 (patch) | |
tree | 215163d13dbfa514a4121594cd4c6e27fde9b911 /net/tipc/core.h | |
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>
Diffstat (limited to 'net/tipc/core.h')
0 files changed, 0 insertions, 0 deletions