aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2013-11-12 15:10:03 -0800
committerLinus Torvalds <[email protected]>2013-11-13 12:09:24 +0900
commit93be3c2eb3371f022ad88acf1ab6bee8e3c38378 (patch)
tree9075b8c5f48c38cc2fd11c1eba408981d8f68480 /tools/perf/scripts/python
parent8120e2e5141a420edee725ff28f18aa264795f7a (diff)
list: introduce list_last_entry(), use list_{first,last}_entry()
We already have list_first_entry(), it makes sense to also add list_last_entry() for consistency. And we use both helpers in list_for_each_*(). 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')
0 files changed, 0 insertions, 0 deletions