xref: /linux/rust/helpers/helpers.c (revision 7f66456d776a0c44b5e2b932bf8ed186ccec3bc1)
1  // SPDX-License-Identifier: GPL-2.0
2  /*
3   * Non-trivial C macros cannot be used in Rust. Similarly, inlined C functions
4   * cannot be called either. This file explicitly creates functions ("helpers")
5   * that wrap those so that they can be called from Rust.
6   *
7   * Sorted alphabetically.
8   */
9  
10  #include "blk.c"
11  #include "bug.c"
12  #include "build_assert.c"
13  #include "build_bug.c"
14  #include "err.c"
15  #include "kunit.c"
16  #include "mutex.c"
17  #include "page.c"
18  #include "rbtree.c"
19  #include "refcount.c"
20  #include "signal.c"
21  #include "slab.c"
22  #include "spinlock.c"
23  #include "task.c"
24  #include "uaccess.c"
25  #include "wait.c"
26  #include "workqueue.c"
27