mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
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:
1 parent
1c7a6f48f7
commit
9f658bd537
1 file changed
+1
-1
+1
-1
@@ -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();
|
||||
}
|
||||
Reference in new issue
Block a user