]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/powerpc/perf/hv-24x7.c
csky: Minimize defconfig to support buildroot config.fragment
[linux.git] / arch / powerpc / perf / hv-24x7.c
index faad5b315f490f5c5eb409c0122abdc0d456e5bf..573e0b309c0ca3e54794cc637023bea7e733d40f 100644 (file)
@@ -567,7 +567,7 @@ static int event_uniq_add(struct rb_root *root, const char *name, int nl,
                struct event_uniq *it;
                int result;
 
-               it = container_of(*new, struct event_uniq, node);
+               it = rb_entry(*new, struct event_uniq, node);
                result = ev_uniq_ord(name, nl, domain, it->name, it->nl,
                                        it->domain);