kernel.h 434 Bytes
Newer Older
Matthew Wilcox's avatar
Matthew Wilcox committed
1
2
3
#ifndef _KERNEL_H
#define _KERNEL_H

4
#include "../../include/linux/kernel.h"
Matthew Wilcox's avatar
Matthew Wilcox committed
5
6
7
8
#include <string.h>
#include <stdio.h>
#include <limits.h>

9
10
11
12
#include <linux/compiler.h>
#include <linux/err.h>
#include <linux/bitops.h>
#include <linux/log2.h>
13
#include "../../../include/linux/kconfig.h"
14

Matthew Wilcox's avatar
Matthew Wilcox committed
15
#define printk printf
16
#define pr_debug printk
17
#define pr_cont printk
18

Matthew Wilcox's avatar
Matthew Wilcox committed
19
20
21
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))

#endif /* _KERNEL_H */