]>
Commit | Line | Data |
---|---|---|
db9f11e3 FW |
1 | #ifndef _PERF_LINUX_TYPES_H_ |
2 | #define _PERF_LINUX_TYPES_H_ | |
3 | ||
802da5f2 FW |
4 | #include <asm/types.h> |
5 | ||
db9f11e3 FW |
6 | #define DECLARE_BITMAP(name,bits) \ |
7 | unsigned long name[BITS_TO_LONGS(bits)] | |
8 | ||
88d89da6 IM |
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 | ||
db9f11e3 | 21 | #endif |