mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-04-16 02:47:41 +07:00

Add config option "SHIFT=<value>" to Makefile for building test suite with any value of RADIX_TREE_MAP_SHIFT between 3 and 7 inclusive. Signed-off-by: Rehas Sachdeva <aquannie@gmail.com> [mawilcox@microsoft.com: .gitignore, quieten grep, remove on clean] Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
22 lines
434 B
C
22 lines
434 B
C
#ifndef _KERNEL_H
|
|
#define _KERNEL_H
|
|
|
|
#include "../../include/linux/kernel.h"
|
|
#include <string.h>
|
|
#include <stdio.h>
|
|
#include <limits.h>
|
|
|
|
#include <linux/compiler.h>
|
|
#include <linux/err.h>
|
|
#include <linux/bitops.h>
|
|
#include <linux/log2.h>
|
|
#include "../../../include/linux/kconfig.h"
|
|
|
|
#define printk printf
|
|
#define pr_debug printk
|
|
#define pr_cont printk
|
|
|
|
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
|
|
|
|
#endif /* _KERNEL_H */
|