perf util: Use cached rbtree for rblists
[linux-2.6-microblaze.git] / tools / perf / util / rb_resort.h
index f272e18..376e86c 100644 (file)
@@ -140,7 +140,7 @@ struct __name##_sorted *__name = __name##_sorted__new
 
 /* For 'struct intlist' */
 #define DECLARE_RESORT_RB_INTLIST(__name, __ilist)                             \
-       DECLARE_RESORT_RB(__name)(&__ilist->rblist.entries,                     \
+       DECLARE_RESORT_RB(__name)(&__ilist->rblist.entries.rb_root,             \
                                  __ilist->rblist.nr_entries)
 
 /* For 'struct machine->threads' */