Skip to content
Commit 9090589d authored by Shaohua Li's avatar Shaohua Li Committed by Len Brown
Browse files

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: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarShaohua Li <shaohua.li@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent d508afb4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment