From 01573e231f18eb2d99162747186f59511f56b64d Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 08 Dec 2023 10:40:48 +0000 Subject: [PATCH] 移去rt --- kernel/tools/perf/util/intlist.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/tools/perf/util/intlist.h b/kernel/tools/perf/util/intlist.h index 85bab87..5c19ee0 100644 --- a/kernel/tools/perf/util/intlist.h +++ b/kernel/tools/perf/util/intlist.h @@ -45,7 +45,7 @@ /* For intlist iteration */ static inline struct int_node *intlist__first(struct intlist *ilist) { - struct rb_node *rn = rb_first(&ilist->rblist.entries); + struct rb_node *rn = rb_first_cached(&ilist->rblist.entries); return rn ? rb_entry(rn, struct int_node, rb_node) : NULL; } static inline struct int_node *intlist__next(struct int_node *in) -- Gitblit v1.6.2