diff options
author | Alexei Starovoitov <ast@kernel.org> | 2025-09-03 14:59:43 +0200 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2025-09-26 11:55:57 +0200 |
commit | 212b0f07cf021575ec25e0b2336df77c7a4d2e68 (patch) | |
tree | b625ce26a6d5daa4c6ec7178be56c54e9271e6d8 /rust/helpers/task.c | |
parent | 1b237f190eb3d36f52dffe07a40b5eb210280e00 (diff) |
locking/local_lock: Expose dep_map in local_trylock_t.
lockdep_is_held() macro assumes that "struct lockdep_map dep_map;"
is a top level field of any lock that participates in LOCKDEP.
Make it so for local_trylock_t.
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Harry Yoo <harry.yoo@oracle.com>
Reviewed-by: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions