commit | cba3176e88fa134ece3ae1cf7e35dab9972d7853 | [log] [tgz] |
---|---|---|
author | Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> | Wed Dec 07 22:30:09 2011 +0100 |
committer | Rafael J. Wysocki <rjw@sisk.pl> | Thu Dec 08 23:22:45 2011 +0100 |
tree | 87e5eb4cdbda2f2ffeffab35a02710c2f6e81d2b | |
parent | bcda53faf5814c0c6025a0bd47108adfcbe9f199 [diff] |
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>