aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorKevin Hao <[email protected]>2023-12-21 04:45:09 +0000
committerMichael Ellerman <[email protected]>2023-12-21 11:10:16 +0000
commit11611d254c15cce1f58431b2965c6edb5aa7e610 (patch)
tree4171961573980807d372516d7a19cceda431431d /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parentpowerpc/mpc83xx: Add the missing set_freezable() for agent_thread_fn() (diff)
downloadkernel-11611d254c15cce1f58431b2965c6edb5aa7e610.tar.gz
kernel-11611d254c15cce1f58431b2965c6edb5aa7e610.zip
powerpc/mpc83xx: Use wait_event_freezable() for freezable kthread
A freezable kernel thread can enter frozen state during freezing by either calling try_to_freeze() or using wait_event_freezable() and its variants. So for the following snippet of code in a kernel thread loop: wait_event_interruptible(); try_to_freeze(); We can change it to a simple wait_event_freezable() and then eliminate a function call. Signed-off-by: Kevin Hao <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions