]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
1366c37e MW |
2 | #ifndef _KERNEL_H |
3 | #define _KERNEL_H | |
4 | ||
ab3a1ffd | 5 | #include "../../include/linux/kernel.h" |
1366c37e MW |
6 | #include <string.h> |
7 | #include <stdio.h> | |
1366c37e MW |
8 | #include <limits.h> |
9 | ||
c68a2aab MW |
10 | #include <linux/compiler.h> |
11 | #include <linux/err.h> | |
12 | #include <linux/bitops.h> | |
13 | #include <linux/log2.h> | |
21ef5339 | 14 | #include "../../../include/linux/kconfig.h" |
d42cb1a9 | 15 | |
1366c37e | 16 | #define printk printf |
f518b160 | 17 | #define pr_debug printk |
0a835c4f | 18 | #define pr_cont printk |
f518b160 | 19 | |
1366c37e MW |
20 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) |
21 | ||
1366c37e | 22 | #endif /* _KERNEL_H */ |