diff options
| author | Miguel Ojeda <ojeda@kernel.org> | 2026-01-27 12:30:33 +0100 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-01-27 12:30:33 +0100 |
| commit | 74a862d251ad5f57b58738cfe0192d807b1a0313 (patch) | |
| tree | 5eebeeca55eff0e8163e422ed230135f8191dd85 /rust/helpers | |
| parent | 196906d4acf1048b4dbb0cb8dde81f0adb663f83 (diff) | |
| parent | c455f19bbe6104debd980bb15515faf716bd81b8 (diff) | |
| download | linux-next-74a862d251ad5f57b58738cfe0192d807b1a0313.tar.gz linux-next-74a862d251ad5f57b58738cfe0192d807b1a0313.zip | |
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
Diffstat (limited to 'rust/helpers')
| -rw-r--r-- | rust/helpers/xarray.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/rust/helpers/xarray.c b/rust/helpers/xarray.c index 60b299f11451..08979b304341 100644 --- a/rust/helpers/xarray.c +++ b/rust/helpers/xarray.c @@ -2,27 +2,27 @@ #include <linux/xarray.h> -int rust_helper_xa_err(void *entry) +__rust_helper int rust_helper_xa_err(void *entry) { return xa_err(entry); } -void rust_helper_xa_init_flags(struct xarray *xa, gfp_t flags) +__rust_helper void rust_helper_xa_init_flags(struct xarray *xa, gfp_t flags) { return xa_init_flags(xa, flags); } -int rust_helper_xa_trylock(struct xarray *xa) +__rust_helper int rust_helper_xa_trylock(struct xarray *xa) { return xa_trylock(xa); } -void rust_helper_xa_lock(struct xarray *xa) +__rust_helper void rust_helper_xa_lock(struct xarray *xa) { return xa_lock(xa); } -void rust_helper_xa_unlock(struct xarray *xa) +__rust_helper void rust_helper_xa_unlock(struct xarray *xa) { return xa_unlock(xa); } |
