diff options
| author | Xiaoming Ni <[email protected]> | 2021-08-09 02:12:15 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2021-08-20 10:33:17 +0000 |
| commit | 99409b935c9ac5ea36ab5218954115c52449234d (patch) | |
| tree | 0f2769c63640eecc5f5fd236202b5eb2fdc2f38b /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | locking/ww_mutex: Initialize waiter.ww_ctx properly (diff) | |
| download | kernel-99409b935c9ac5ea36ab5218954115c52449234d.tar.gz kernel-99409b935c9ac5ea36ab5218954115c52449234d.zip | |
locking/semaphore: Add might_sleep() to down_*() family
Semaphore is sleeping lock. Add might_sleep() to down*() family
(with exception of down_trylock()) to detect atomic context sleep.
Signed-off-by: Xiaoming Ni <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Will Deacon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions
