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