Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1#ifndef _KERNEL_H
2#define _KERNEL_H
3
4#include "../../include/linux/kernel.h"
5#include <string.h>
6#include <stdio.h>
7#include <limits.h>
8
9#include <linux/compiler.h>
10#include <linux/err.h>
11#include <linux/bitops.h>
12#include <linux/log2.h>
13#include "../../../include/linux/kconfig.h"
14
15#define printk printf
16#define pr_debug printk
17#define pr_cont printk
18
19#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
20
21#endif /* _KERNEL_H */