2022-07-25 23:46:47 +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-05-31 17:44:50 +00:00
|
|
|
#include <linux/errname.h>
|
2022-07-25 23:46:47 +02:00
|
|
|
#include <linux/slab.h>
|
2022-12-28 06:03:40 +00:00
|
|
|
#include <linux/refcount.h>
|
2023-03-26 00:57:38 -03:00
|
|
|
#include <linux/wait.h>
|
2023-04-11 02:45:39 -03:00
|
|
|
#include <linux/sched.h>
|
2022-07-25 23:46:47 +02:00
|
|
|
|
|
|
|
/* `bindgen` gets confused at certain things. */
|
|
|
|
const gfp_t BINDINGS_GFP_KERNEL = GFP_KERNEL;
|
|
|
|
const gfp_t BINDINGS___GFP_ZERO = __GFP_ZERO;
|