diff options
author | Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> | 2011-12-07 21:30:09 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-12-08 22:22:45 (GMT) |
commit | cba3176e88fa134ece3ae1cf7e35dab9972d7853 (patch) | |
tree | 87e5eb4cdbda2f2ffeffab35a02710c2f6e81d2b /kernel/compat.c | |
parent | bcda53faf5814c0c6025a0bd47108adfcbe9f199 (diff) | |
download | linux-fsl-qoriq-cba3176e88fa134ece3ae1cf7e35dab9972d7853.tar.xz |
PM / Sleep: Recommend [un]lock_system_sleep() over using pm_mutex directly
Update the documentation to explain the perils of directly using
mutex_[un]lock(&pm_mutex) and recommend the usage of the safe
APIs [un]lock_system_sleep() instead.
Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions