]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - 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
index 196862a81a218e8d3603db854e1263b9ce317963..12de3b8112f97a079841ad37832934d79cc53bce 100644 (file)
@@ -6,4 +6,16 @@
 #define DECLARE_BITMAP(name,bits) \
        unsigned long name[BITS_TO_LONGS(bits)]
 
+struct list_head {
+       struct list_head *next, *prev;
+};
+
+struct hlist_head {
+       struct hlist_node *first;
+};
+
+struct hlist_node {
+       struct hlist_node *next, **pprev;
+};
+
 #endif