[patch] sched,rt: let the user see rt queues in /proc/sched_debug

From: Mike Galbraith
Date: Tue Apr 03 2012 - 05:20:33 EST


ec514c48 made rt queues invisible in sched_debug, restore visibility.

Signed-off-by: Mike Galbraith <efault@xxxxxx>
---
kernel/sched/rt.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

--- a/kernel/sched/rt.c
+++ b/kernel/sched/rt.c
@@ -2079,11 +2079,10 @@ extern void print_rt_rq(struct seq_file

void print_rt_stats(struct seq_file *m, int cpu)
{
- rt_rq_iter_t iter;
struct rt_rq *rt_rq;

rcu_read_lock();
- for_each_rt_rq(rt_rq, iter, cpu_rq(cpu))
+ for_each_leaf_rt_rq(rt_rq, cpu_rq(cpu))
print_rt_rq(m, cpu, rt_rq);
rcu_read_unlock();
}


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/