]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
perf: Add back list_head data types
authorIngo Molnar <mingo@elte.hu>
Thu, 12 Aug 2010 19:50:00 +0000 (21:50 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 12 Aug 2010 19:50:00 +0000 (21:50 +0200)
This commit:

 de5d9bf: Move list types from <linux/list.h> to <linux/types.h>.

Moved the list head data types out of list.h, breaking the build.
Add them to the perf types.h as well.

Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
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