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
|
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
|
|
|
|
2016-03-17 14:21:45 -07:00
|
|
|
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
|
|
|
|
|
|
|
|
|
|
#endif /* _KERNEL_H */
|