diff options
author | Peter Zijlstra <peterz@infradead.org> | 2022-08-22 13:18:19 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-09-07 21:53:48 +0200 |
commit | 9204a97f7ae862fc8a3330ec8335917534c3fb63 (patch) | |
tree | 6a0fff82fb0b537c80adcbef5d0c0c26bdbe2d7c /drivers/powercap | |
parent | 1fbcaa923ce2d7e6de17abd74fa076dc1e0be1a2 (diff) | |
download | linux-9204a97f7ae862fc8a3330ec8335917534c3fb63.tar.bz2 |
sched: Change wait_task_inactive()s match_state
Make wait_task_inactive()'s @match_state work like ttwu()'s @state.
That is, instead of an equal comparison, use it as a mask. This allows
matching multiple block conditions.
(removes the unlikely; it doesn't make sense how it's only part of the
condition)
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220822114648.856734578@infradead.org
Diffstat (limited to 'drivers/powercap')
0 files changed, 0 insertions, 0 deletions