| .. | .. |
|---|
| 140 | 140 | |
|---|
| 141 | 141 | /* For 'struct intlist' */ |
|---|
| 142 | 142 | #define DECLARE_RESORT_RB_INTLIST(__name, __ilist) \ |
|---|
| 143 | | - DECLARE_RESORT_RB(__name)(&__ilist->rblist.entries, \ |
|---|
| 143 | + DECLARE_RESORT_RB(__name)(&__ilist->rblist.entries.rb_root, \ |
|---|
| 144 | 144 | __ilist->rblist.nr_entries) |
|---|
| 145 | 145 | |
|---|
| 146 | 146 | /* For 'struct machine->threads' */ |
|---|
| 147 | | -#define DECLARE_RESORT_RB_MACHINE_THREADS(__name, __machine, hash_bucket) \ |
|---|
| 148 | | - DECLARE_RESORT_RB(__name)(&__machine->threads[hash_bucket].entries, \ |
|---|
| 149 | | - __machine->threads[hash_bucket].nr) |
|---|
| 147 | +#define DECLARE_RESORT_RB_MACHINE_THREADS(__name, __machine, hash_bucket) \ |
|---|
| 148 | + DECLARE_RESORT_RB(__name)(&__machine->threads[hash_bucket].entries.rb_root, \ |
|---|
| 149 | + __machine->threads[hash_bucket].nr) |
|---|
| 150 | 150 | |
|---|
| 151 | 151 | #endif /* _PERF_RESORT_RB_H_ */ |
|---|