aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2013-11-12 15:10:01 -0800
committerLinus Torvalds <[email protected]>2013-11-13 12:09:23 +0900
commit008208c6b26f21c2648c250a09c55e737c02c5f8 (patch)
tree14710b8640457d3377b8ddc5d9ed5e41234ed561 /tools/perf/scripts/python/bin
parent92a2e1cb53ba649e620b7f02a15ad1fb949c6355 (diff)
list: introduce list_next_entry() and list_prev_entry()
Add two trivial helpers list_next_entry() and list_prev_entry(), they can have a lot of users including list.h itself. In fact the 1st one is already defined in events/core.c and bnx2x_sp.c, so the patch simply moves the definition to list.h. Signed-off-by: Oleg Nesterov <[email protected]> Cc: Eilon Greenstein <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Peter Zijlstra <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions