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