diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2024-09-30 12:28:07 +0300 |
---|---|---|
committer | Jerome Brunet <jbrunet@baylibre.com> | 2024-09-30 12:28:07 +0300 |
commit | 3fd6c59042dbba50391e30862beac979491145fe (patch) | |
tree | 63d729254efdf6446d4d4a05e7a8a0dd803eedec /rust/helpers/helpers.c | |
parent | 1d7ec62374bf049349c47f07f0b95a6524bb1b98 (diff) | |
parent | 9852d85ec9d492ebef56dc5f229416c925758edc (diff) | |
download | linux-3fd6c59042dbba50391e30862beac979491145fe.tar.xz |
Merge tag 'v6.12-rc1' into clk-meson-next
Linux 6.12-rc1
Diffstat (limited to 'rust/helpers/helpers.c')
-rw-r--r-- | rust/helpers/helpers.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/rust/helpers/helpers.c b/rust/helpers/helpers.c new file mode 100644 index 000000000000..30f40149f3a9 --- /dev/null +++ b/rust/helpers/helpers.c @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Non-trivial C macros cannot be used in Rust. Similarly, inlined C functions + * cannot be called either. This file explicitly creates functions ("helpers") + * that wrap those so that they can be called from Rust. + * + * Sorted alphabetically. + */ + +#include "blk.c" +#include "bug.c" +#include "build_assert.c" +#include "build_bug.c" +#include "err.c" +#include "kunit.c" +#include "mutex.c" +#include "page.c" +#include "rbtree.c" +#include "refcount.c" +#include "signal.c" +#include "slab.c" +#include "spinlock.c" +#include "task.c" +#include "uaccess.c" +#include "wait.c" +#include "workqueue.c" |