radix tree test suite: Remove types.h
Move the pieces we still need to tools/include and update a few implicit includes. Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
このコミットが含まれているのは:
@@ -1,6 +1,8 @@
|
||||
#ifndef _GFP_H
|
||||
#define _GFP_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#define __GFP_BITS_SHIFT 26
|
||||
#define __GFP_BITS_MASK ((gfp_t)((1 << __GFP_BITS_SHIFT) - 1))
|
||||
|
||||
|
@@ -1,23 +0,0 @@
|
||||
#ifndef _TYPES_H
|
||||
#define _TYPES_H
|
||||
|
||||
#include "../../include/linux/types.h"
|
||||
|
||||
#define __rcu
|
||||
#define __read_mostly
|
||||
|
||||
static inline void INIT_LIST_HEAD(struct list_head *list)
|
||||
{
|
||||
list->next = list;
|
||||
list->prev = list;
|
||||
}
|
||||
|
||||
typedef struct {
|
||||
unsigned int x;
|
||||
} spinlock_t;
|
||||
|
||||
#define uninitialized_var(x) x = x
|
||||
|
||||
#include <linux/gfp.h>
|
||||
|
||||
#endif
|
新しいイシューから参照
ユーザーをブロックする