From: Alice Ryhl Date: Mon, 5 Jan 2026 12:42:22 +0000 (+0000) Subject: rust: jump_label: add __rust_helper to helpers X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f4040a7c3ddf38710f5f9aeb19220da9b614a4b0;p=thirdparty%2Fkernel%2Flinux.git rust: jump_label: add __rust_helper to helpers This is needed to inline these helpers into Rust code. Reviewed-by: Boqun Feng Reviewed-by: Gary Guo Signed-off-by: Alice Ryhl Acked-by: Peter Zijlstra (Intel) Link: https://patch.msgid.link/20260105-define-rust-helper-v2-9-51da5f454a67@google.com Signed-off-by: Miguel Ojeda --- diff --git a/rust/helpers/jump_label.c b/rust/helpers/jump_label.c index fc1f1e0df08e..7ca384e73121 100644 --- a/rust/helpers/jump_label.c +++ b/rust/helpers/jump_label.c @@ -7,7 +7,7 @@ #include #ifndef CONFIG_JUMP_LABEL -int rust_helper_static_key_count(struct static_key *key) +__rust_helper int rust_helper_static_key_count(struct static_key *key) { return static_key_count(key); }