^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef _KERNEL_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define _KERNEL_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #include "../../include/linux/kernel.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) #include <string.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) #include <stdio.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) #include <limits.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #include <linux/compiler.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #include <linux/err.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #include <linux/bitops.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #include <linux/log2.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #include "../../../include/linux/kconfig.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #define printk printf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #define pr_info printk
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #define pr_debug printk
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #define pr_cont printk
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #define __acquires(x)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #define __releases(x)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #define __must_hold(x)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) #define EXPORT_PER_CPU_SYMBOL_GPL(x)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #endif /* _KERNEL_H */