summaryrefslogtreecommitdiff
path: root/kernel/kmod.c
diff options
context:
space:
mode:
authorSrivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>2011-12-07 22:30:09 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2011-12-08 23:22:45 +0100
commitcba3176e88fa134ece3ae1cf7e35dab9972d7853 (patch)
tree87e5eb4cdbda2f2ffeffab35a02710c2f6e81d2b /kernel/kmod.c
parentbcda53faf5814c0c6025a0bd47108adfcbe9f199 (diff)
downloadlwn-cba3176e88fa134ece3ae1cf7e35dab9972d7853.tar.gz
lwn-cba3176e88fa134ece3ae1cf7e35dab9972d7853.zip
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/kmod.c')
0 files changed, 0 insertions, 0 deletions