• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef _PERF_LINUX_TYPES_H_
2 #define _PERF_LINUX_TYPES_H_
3 
4 #include <asm/types.h>
5 
6 #ifndef __bitwise
7 #define __bitwise
8 #endif
9 
10 #ifndef __le32
11 typedef __u32 __bitwise __le32;
12 #endif
13 
14 #define DECLARE_BITMAP(name,bits) \
15 	unsigned long name[BITS_TO_LONGS(bits)]
16 
17 struct list_head {
18 	struct list_head *next, *prev;
19 };
20 
21 struct hlist_head {
22 	struct hlist_node *first;
23 };
24 
25 struct hlist_node {
26 	struct hlist_node *next, **pprev;
27 };
28 
29 #endif
30