diff options
author | 2024-11-18 21:29:33 +0100 | |
---|---|---|
committer | 2024-11-18 21:29:33 +0100 | |
commit | f33e46a0c6bddd341d0989484a2546bba7ac4a3c (patch) | |
tree | 4918985ab00890205c8d77d0553472e12e01cd55 /rust/helpers/helpers.c | |
parent | HID: hyperv: streamline driver probe to avoid devres issues (diff) | |
parent | HID: wacom: Set eraser status when either 'Eraser' or 'Invert' usage is set (diff) | |
download | wireguard-linux-f33e46a0c6bddd341d0989484a2546bba7ac4a3c.tar.xz wireguard-linux-f33e46a0c6bddd341d0989484a2546bba7ac4a3c.zip |
Merge branch 'for-6.13/wacom' into for-linus
- Sanitization of BTN_TOOL_RUBBER handling (Jason Gerecke)
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" |