summaryrefslogtreecommitdiffstats
path: root/kernel/pid.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-01-05 18:19:08 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-01-10 01:07:46 +0100
commit4bf236a3330e97d275e5848420f7e31948fef07a (patch)
tree0be93c72c34a05451c4fd8bdb9c57d84dd06720a /kernel/pid.c
parentPM: hibernate: Do not subtract NR_FILE_MAPPED in minimum_image_size() (diff)
downloadlinux-4bf236a3330e97d275e5848420f7e31948fef07a.tar.xz
linux-4bf236a3330e97d275e5848420f7e31948fef07a.zip
PM / sleep: Make lock/unlock_system_sleep() available to kernel modules
Since pm_mutex is not exported using lock/unlock_system_sleep() from inside a kernel module causes a "pm_mutex undefined" linker error. Hence move lock/unlock_system_sleep() into kernel/power/main.c and export these. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/pid.c')
0 files changed, 0 insertions, 0 deletions