rust: cpu: Add __rust_helper to helpers

This is needed to inline these helpers into Rust code.

Reviewed-by: Boqun Feng <[email protected]>
Reviewed-by: Gary Guo <[email protected]>
Signed-off-by: Alice Ryhl <[email protected]>
Signed-off-by: Boqun Feng <[email protected]>
Link: https://patch.msgid.link/[email protected]
This commit is contained in:
Alice Ryhl authored and Boqun Feng committed 2026-01-09 19:01:41 +08:00
1 parent 1c7a6f48f7
commit 9f658bd537
1 file changed
+1 -1
+1 -1
View File
@@ -2,7 +2,7 @@
#include <linux/smp.h>
unsigned int rust_helper_raw_smp_processor_id(void)
__rust_helper unsigned int rust_helper_raw_smp_processor_id(void)
{
return raw_smp_processor_id();
}