blob: b21a77fddcf7357cf4b9cffc7f1746e0e2053d05 [file] [log] [blame]
Matthew Wilcox1366c372016-03-17 14:21:45 -07001#ifndef _KERNEL_H
2#define _KERNEL_H
3
Matthew Wilcoxab3a1ff2016-12-16 15:11:05 -05004#include "../../include/linux/kernel.h"
Matthew Wilcox1366c372016-03-17 14:21:45 -07005#include <string.h>
6#include <stdio.h>
Matthew Wilcox1366c372016-03-17 14:21:45 -07007#include <limits.h>
8
Matthew Wilcoxc68a2aa2016-12-16 11:52:43 -05009#include <linux/compiler.h>
10#include <linux/err.h>
11#include <linux/bitops.h>
12#include <linux/log2.h>
Ross Zwisler21ef5332016-05-20 17:02:26 -070013#include "../../../include/linux/kconfig.h"
Matthew Wilcoxd42cb1a2016-05-20 17:01:39 -070014
Matthew Wilcox1366c372016-03-17 14:21:45 -070015#define printk printf
Matthew Wilcoxf518b162016-05-20 17:01:36 -070016#define pr_debug printk
Matthew Wilcox0a835c42016-12-20 10:27:56 -050017#define pr_cont printk
Matthew Wilcoxf518b162016-05-20 17:01:36 -070018
Matthew Wilcox1366c372016-03-17 14:21:45 -070019#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
20
Matthew Wilcox1366c372016-03-17 14:21:45 -070021#endif /* _KERNEL_H */