2017-11-01 15:07:57 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2016-03-17 14:21:45 -07:00
|
|
|
#ifndef _KERNEL_H
|
|
|
|
|
#define _KERNEL_H
|
|
|
|
|
|
2016-12-16 15:11:05 -05:00
|
|
|
#include "../../include/linux/kernel.h"
|
2016-03-17 14:21:45 -07:00
|
|
|
#include <string.h>
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <limits.h>
|
|
|
|
|
|
2016-12-16 11:52:43 -05:00
|
|
|
#include <linux/compiler.h>
|
|
|
|
|
#include <linux/err.h>
|
|
|
|
|
#include <linux/bitops.h>
|
|
|
|
|
#include <linux/log2.h>
|
2016-05-20 17:02:26 -07:00
|
|
|
#include "../../../include/linux/kconfig.h"
|
2016-05-20 17:01:39 -07:00
|
|
|
|
2016-03-17 14:21:45 -07:00
|
|
|
#define printk printf
|
2022-09-06 19:48:39 +00:00
|
|
|
#define pr_err printk
|
2017-11-07 14:57:46 -05:00
|
|
|
#define pr_info printk
|
2016-05-20 17:01:36 -07:00
|
|
|
#define pr_debug printk
|
2016-12-20 10:27:56 -05:00
|
|
|
#define pr_cont printk
|
2016-05-20 17:01:36 -07:00
|
|
|
|
2017-11-10 15:15:08 -05:00
|
|
|
#define __acquires(x)
|
|
|
|
|
#define __releases(x)
|
|
|
|
|
#define __must_hold(x)
|
|
|
|
|
|
2020-06-14 06:07:10 -04:00
|
|
|
#define EXPORT_PER_CPU_SYMBOL_GPL(x)
|
2016-03-17 14:21:45 -07:00
|
|
|
#endif /* _KERNEL_H */
|