diff options
author | Minchan Kim <minchan@kernel.org> | 2022-01-16 00:16:57 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-02-11 12:13:55 +0100 |
commit | c441e934b604a3b5f350a9104124cf6a3ba07a34 (patch) | |
tree | f01b72cc4850b7425af837667774d32e099567bd /kernel/locking/rwsem.c | |
parent | cpumask: Always inline helpers which use bit manipulation functions (diff) | |
download | linux-c441e934b604a3b5f350a9104124cf6a3ba07a34.tar.xz linux-c441e934b604a3b5f350a9104124cf6a3ba07a34.zip |
locking: Add missing __sched attributes
This patch adds __sched attributes to a few missing places
to show blocked function rather than locking function
in get_wchan.
Signed-off-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20220115231657.84828-1-minchan@kernel.org
Diffstat (limited to '')
-rw-r--r-- | kernel/locking/rwsem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/locking/rwsem.c b/kernel/locking/rwsem.c index 69aba4abe104..acde5d6f1254 100644 --- a/kernel/locking/rwsem.c +++ b/kernel/locking/rwsem.c @@ -1048,7 +1048,7 @@ out_nolock: /* * Wait until we successfully acquire the write lock */ -static struct rw_semaphore * +static struct rw_semaphore __sched * rwsem_down_write_slowpath(struct rw_semaphore *sem, int state) { long count; |