]> bbs.cooldavid.org Git - net-next-2.6.git/blame - tools/perf/util/include/linux/types.h
perf: Add back list_head data types
[net-next-2.6.git] / tools / perf / util / include / linux / types.h
CommitLineData
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
9struct list_head {
10 struct list_head *next, *prev;
11};
12
13struct hlist_head {
14 struct hlist_node *first;
15};
16
17struct hlist_node {
18 struct hlist_node *next, **pprev;
19};
20
db9f11e3 21#endif