mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-28 01:54:33 +00:00
The xa_load function brings with it a lot of infrastructure; xa_empty(), xa_is_err(), and large chunks of the XArray advanced API that are used to implement xa_load. As the test-suite demonstrates, it is possible to use the XArray functions on a radix tree. The radix tree functions depend on the GFP flags being stored in the root of the tree, so it's not possible to use the radix tree functions on an XArray. Signed-off-by: Matthew Wilcox <willy@infradead.org>
21 lines
438 B
C
21 lines
438 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#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_info printk
|
|
#define pr_debug printk
|
|
#define pr_cont printk
|
|
|
|
#endif /* _KERNEL_H */
|