Skip to content

Commit 74a862d

Browse files
committed
Merge tag 'rust-xarray-for-v6.20-v7.0' of https://github.com/Rust-for-Linux/linux into rust-next
Pull XArray update from Andreas Hindborg: - Add '__rust_helper' to XArray abstraction C helpers. * tag 'rust-xarray-for-v6.20-v7.0' of https://github.com/Rust-for-Linux/linux: rust: xarray: add __rust_helper to helpers
2 parents 196906d + c455f19 commit 74a862d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

rust/helpers/xarray.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@
22

33
#include <linux/xarray.h>
44

5-
int rust_helper_xa_err(void *entry)
5+
__rust_helper int rust_helper_xa_err(void *entry)
66
{
77
return xa_err(entry);
88
}
99

10-
void rust_helper_xa_init_flags(struct xarray *xa, gfp_t flags)
10+
__rust_helper void rust_helper_xa_init_flags(struct xarray *xa, gfp_t flags)
1111
{
1212
return xa_init_flags(xa, flags);
1313
}
1414

15-
int rust_helper_xa_trylock(struct xarray *xa)
15+
__rust_helper int rust_helper_xa_trylock(struct xarray *xa)
1616
{
1717
return xa_trylock(xa);
1818
}
1919

20-
void rust_helper_xa_lock(struct xarray *xa)
20+
__rust_helper void rust_helper_xa_lock(struct xarray *xa)
2121
{
2222
return xa_lock(xa);
2323
}
2424

25-
void rust_helper_xa_unlock(struct xarray *xa)
25+
__rust_helper void rust_helper_xa_unlock(struct xarray *xa)
2626
{
2727
return xa_unlock(xa);
2828
}

0 commit comments

Comments
 (0)