diff options
author | 2025-04-04 23:04:35 -0700 | |
---|---|---|
committer | 2025-04-04 23:04:35 -0700 | |
commit | 946661e3bef8efa11ba8079d4ebafe6fc3b0aaad (patch) | |
tree | a90605abb7bb65503a2d3f93a79e19a01aaa5e89 /rust/helpers/mutex.c | |
parent | MAINTAINERS: Remove myself from the goodix touchscreen maintainers (diff) | |
parent | Input: goodix_berlin - add support for Berlin-A series (diff) | |
download | wireguard-linux-946661e3bef8efa11ba8079d4ebafe6fc3b0aaad.tar.xz wireguard-linux-946661e3bef8efa11ba8079d4ebafe6fc3b0aaad.zip |
Merge branch 'next' into for-linus
Prepare input updates for 6.15 merge window.
Diffstat (limited to 'rust/helpers/mutex.c')
-rw-r--r-- | rust/helpers/mutex.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rust/helpers/mutex.c b/rust/helpers/mutex.c index 7e00680958ef..06575553eda5 100644 --- a/rust/helpers/mutex.c +++ b/rust/helpers/mutex.c @@ -12,3 +12,8 @@ void rust_helper___mutex_init(struct mutex *mutex, const char *name, { __mutex_init(mutex, name, key); } + +void rust_helper_mutex_assert_is_held(struct mutex *mutex) +{ + lockdep_assert_held(mutex); +} |