diff options
author | 2024-11-08 12:13:48 -0500 | |
---|---|---|
committer | 2024-11-08 12:13:48 -0500 | |
commit | e3e0f9b7ae280f2f479f74ef7799f4108d0e7f77 (patch) | |
tree | 85a1717293b6536f51176b6daa6e87e5f8338a88 /rust/helpers | |
parent | Merge branch 'kvm-no-struct-page' into HEAD (diff) | |
parent | riscv: kvm: Fix out-of-bounds array access (diff) | |
download | wireguard-linux-e3e0f9b7ae280f2f479f74ef7799f4108d0e7f77.tar.xz wireguard-linux-e3e0f9b7ae280f2f479f74ef7799f4108d0e7f77.zip |
Merge tag 'kvm-riscv-6.13-1' of https://github.com/kvm-riscv/linux into HEAD
KVM/riscv changes for 6.13
- Accelerate KVM RISC-V when running as a guest
- Perf support to collect KVM guest statistics from host side
Diffstat (limited to 'rust/helpers')
-rw-r--r-- | rust/helpers/mutex.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rust/helpers/mutex.c b/rust/helpers/mutex.c index 200db7e6279f..a17ca8cdb50c 100644 --- a/rust/helpers/mutex.c +++ b/rust/helpers/mutex.c @@ -7,3 +7,9 @@ void rust_helper_mutex_lock(struct mutex *lock) { mutex_lock(lock); } + +void rust_helper___mutex_init(struct mutex *mutex, const char *name, + struct lock_class_key *key) +{ + __mutex_init(mutex, name, key); +} |