From: Alice Ryhl Date: Mon, 5 Jan 2026 12:42:26 +0000 (+0000) Subject: rust: processor: Add __rust_helper to helpers X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a87e6fe8738fabf9881758b79b0db592c057acbd;p=thirdparty%2Fkernel%2Flinux.git rust: processor: 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 Signed-off-by: Boqun Feng Link: https://patch.msgid.link/20260105-define-rust-helper-v2-13-51da5f454a67@google.com --- diff --git a/rust/helpers/processor.c b/rust/helpers/processor.c index d41355e14d6eb..76fadbb647c55 100644 --- a/rust/helpers/processor.c +++ b/rust/helpers/processor.c @@ -2,7 +2,7 @@ #include -void rust_helper_cpu_relax(void) +__rust_helper void rust_helper_cpu_relax(void) { cpu_relax(); }