1 #ifndef _PERF_LINUX_TYPES_H_
2 #define _PERF_LINUX_TYPES_H_
3 
4 #include <asm/types.h>
5 
6 #define DECLARE_BITMAP(name,bits) \
7 	unsigned long name[BITS_TO_LONGS(bits)]
8 
9 struct list_head {
10 	struct list_head *next, *prev;
11 };
12 
13 struct hlist_head {
14 	struct hlist_node *first;
15 };
16 
17 struct hlist_node {
18 	struct hlist_node *next, **pprev;
19 };
20 
21 #endif
22