diff options
author | 2022-04-01 16:11:23 +0200 | |
---|---|---|
committer | 2022-04-19 17:24:02 +0200 | |
commit | 13966517d41efb0a549544022db7d522503bc718 (patch) | |
tree | 7d053fdbcc347b3ada652439ef5bd7667d3daa1c /scripts/gdb/linux/utils.py | |
parent | PM: hibernate: Don't mark comment as kernel-doc (diff) | |
download | wireguard-linux-13966517d41efb0a549544022db7d522503bc718.tar.xz wireguard-linux-13966517d41efb0a549544022db7d522503bc718.zip |
PM: runtime: Allow to call __pm_runtime_set_status() from atomic context
The only two users of __pm_runtime_set_status() are pm_runtime_set_active()
and pm_runtime_set_suspended(). These are widely used and should be called
from non-atomic context to work as expected. However, it would be
convenient to allow them be called from atomic context too, as shown from a
subsequent change, so let's add support for this.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Maulik Shah <quic_mkshah@quicinc.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions