diff options
| author | 2021-12-03 15:59:34 +0800 | |
|---|---|---|
| committer | 2021-12-04 10:56:25 +0100 | |
| commit | c0bed69daf4b67809b58cc7cd81a8fa4f45bc161 (patch) | |
| tree | 2e5eac02c318c1145dace9791e1e53b74ca0dc49 /fs/btrfs/async-thread.c | |
| parent | lockdep/selftests: Adapt ww-tests for PREEMPT_RT (diff) | |
| download | wireguard-linux-c0bed69daf4b67809b58cc7cd81a8fa4f45bc161.tar.xz wireguard-linux-c0bed69daf4b67809b58cc7cd81a8fa4f45bc161.zip | |
locking: Make owner_on_cpu() into <linux/sched.h>
Move the owner_on_cpu() from kernel/locking/rwsem.c into
include/linux/sched.h with under CONFIG_SMP, then use it
in the mutex/rwsem/rtmutex to simplify the code.
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20211203075935.136808-2-wangkefeng.wang@huawei.com
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions
