Centos-kernel-stream-10/rust
Maxim Levitsky 84c5935da5 rust: add helper for mutex_trylock
JIRA: https://issues.redhat.com/browse/RHEL-74410

commit 4dbe28c0fabd69842890ba38f185b96664cba26a
Author: Paolo Bonzini <pbonzini@redhat.com>
Date:   Wed May 28 10:34:30 2025 +0200

    rust: add helper for mutex_trylock

    After commit c5b6ababd21a ("locking/mutex: implement mutex_trylock_nested",
    currently in the KVM tree) mutex_trylock() will be a macro when lockdep is
    enabled.  Rust therefore needs the corresponding helper.  Just add it and
    the rust/bindings/bindings_helpers_generated.rs Makefile rules will do
    their thing.

    Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    Message-ID: <20250528083431.1875345-1-pbonzini@redhat.com>
    Acked-by: Miguel Ojeda <ojeda@kernel.org>
    Reviewed-by: Alice Ryhl <aliceryhl@google.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
2025-06-25 15:57:33 -04:00
..
bindings rust: sort blk includes in bindings_helper.h 2024-08-21 00:37:02 +02:00
helpers rust: add helper for mutex_trylock 2025-06-25 15:57:33 -04:00
kernel rust: block: simplify Result<()> in validate_block_size return 2025-03-09 20:12:30 +08:00
macros Rust changes for v6.12 2024-09-25 10:25:40 -07:00
uapi rust: net::phy unified read/write API for C22 and C45 registers 2024-08-30 10:27:35 +01:00
.gitignore
Makefile Rust changes for v6.12 2024-09-25 10:25:40 -07:00
bindgen_parameters rust: fix `ARCH_SLAB_MINALIGN` multiple definition error 2024-09-26 17:52:35 +02:00
build_error.rs
compiler_builtins.rs rust: add intrinsics to fix `-Os` builds 2024-08-10 00:05:10 +02:00
exports.c rust: kbuild: auto generate helper exports 2024-08-19 11:09:02 +02:00