projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc/perf/24x7: use rb_entry
[linux-2.6-block.git]
/
arch
/
powerpc
/
perf
/
hv-24x7.c
diff --git
a/arch/powerpc/perf/hv-24x7.c
b/arch/powerpc/perf/hv-24x7.c
index d2b8e6061933aa855a752bc2bf1cd79c0822b7c2..bdeb41b1a6e5893768ac94220c1a1dd976ff745d 100644
(file)
--- a/
arch/powerpc/perf/hv-24x7.c
+++ b/
arch/powerpc/perf/hv-24x7.c
@@
-571,7
+571,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);