projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'gpio-v4.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux...
[cascardo/linux.git]
/
tools
/
perf
/
util
/
intlist.h
diff --git
a/tools/perf/util/intlist.h
b/tools/perf/util/intlist.h
index
aa6877d
..
020b9ca
100644
(file)
--- a/
tools/perf/util/intlist.h
+++ b/
tools/perf/util/intlist.h
@@
-57,21
+57,21
@@
static inline struct int_node *intlist__next(struct int_node *in)
}
/**
}
/**
- * intlist_
for_each
- iterate over a intlist
+ * intlist_
_for_each_entry
- iterate over a intlist
* @pos: the &struct int_node to use as a loop cursor.
* @ilist: the &struct intlist for loop.
*/
* @pos: the &struct int_node to use as a loop cursor.
* @ilist: the &struct intlist for loop.
*/
-#define intlist__for_each
(pos, ilist)
\
+#define intlist__for_each
_entry(pos, ilist)
\
for (pos = intlist__first(ilist); pos; pos = intlist__next(pos))
/**
for (pos = intlist__first(ilist); pos; pos = intlist__next(pos))
/**
- * intlist_
for_each
_safe - iterate over a intlist safe against removal of
+ * intlist_
_for_each_entry
_safe - iterate over a intlist safe against removal of
* int_node
* @pos: the &struct int_node to use as a loop cursor.
* @n: another &struct int_node to use as temporary storage.
* @ilist: the &struct intlist for loop.
*/
* int_node
* @pos: the &struct int_node to use as a loop cursor.
* @n: another &struct int_node to use as temporary storage.
* @ilist: the &struct intlist for loop.
*/
-#define intlist__for_each_
safe(pos, n, ilist)
\
+#define intlist__for_each_
entry_safe(pos, n, ilist)
\
for (pos = intlist__first(ilist), n = intlist__next(pos); pos;\
pos = n, n = intlist__next(n))
#endif /* __PERF_INTLIST_H */
for (pos = intlist__first(ilist), n = intlist__next(pos); pos;\
pos = n, n = intlist__next(n))
#endif /* __PERF_INTLIST_H */