2023-08-30 17:31:07 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
/*
|
|
|
|
* Header that contains the code (mostly headers) for which Rust bindings
|
|
|
|
* will be automatically generated by `bindgen`.
|
|
|
|
*
|
|
|
|
* Sorted alphabetically.
|
|
|
|
*/
|
|
|
|
|
2023-10-24 12:59:35 +02:00
|
|
|
#include <linux/errname.h>
|
2023-08-30 17:31:07 +02:00
|
|
|
#include <linux/slab.h>
|
|
|
|
#include <linux/refcount.h>
|
2023-10-24 12:59:35 +02:00
|
|
|
#include <linux/wait.h>
|
|
|
|
#include <linux/sched.h>
|
2023-08-30 17:31:07 +02:00
|
|
|
|
|
|
|
/* `bindgen` gets confused at certain things. */
|
2023-10-24 12:59:35 +02:00
|
|
|
const size_t BINDINGS_ARCH_SLAB_MINALIGN = ARCH_SLAB_MINALIGN;
|
2023-08-30 17:31:07 +02:00
|
|
|
const gfp_t BINDINGS_GFP_KERNEL = GFP_KERNEL;
|
|
|
|
const gfp_t BINDINGS___GFP_ZERO = __GFP_ZERO;
|