diff options
author | Paul Turner <[email protected]> | 2011-07-21 09:43:35 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-08-14 12:03:38 +0200 |
commit | 8277434ef1202ce30315f8edb3fc760aa6e74493 (patch) | |
tree | 455436e29a5a2e16b33f03aa4b4a9a2911bb7746 /lib/memory-notifier-error-inject.c | |
parent | 671fd9dabe5239ad218c7eb48b2b9edee50250e6 (diff) |
sched: Allow for positional tg_tree walks
Extend walk_tg_tree to accept a positional argument
static int walk_tg_tree_from(struct task_group *from,
tg_visitor down, tg_visitor up, void *data)
Existing semantics are preserved, caller must hold rcu_lock() or sufficient
analogue.
Signed-off-by: Paul Turner <[email protected]>
Reviewed-by: Hidetoshi Seto <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions