aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index ce9a9e7db116..24637c782002 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -6021,7 +6021,7 @@ void show_state_filter(unsigned long state_filter)
6021 printk(KERN_INFO 6021 printk(KERN_INFO
6022 " task PC stack pid father\n"); 6022 " task PC stack pid father\n");
6023#endif 6023#endif
6024 read_lock(&tasklist_lock); 6024 rcu_read_lock();
6025 do_each_thread(g, p) { 6025 do_each_thread(g, p) {
6026 /* 6026 /*
6027 * reset the NMI-timeout, listing all files on a slow 6027 * reset the NMI-timeout, listing all files on a slow
@@ -6037,7 +6037,7 @@ void show_state_filter(unsigned long state_filter)
6037#ifdef CONFIG_SCHED_DEBUG 6037#ifdef CONFIG_SCHED_DEBUG
6038 sysrq_sched_debug_show(); 6038 sysrq_sched_debug_show();
6039#endif 6039#endif
6040 read_unlock(&tasklist_lock); 6040 rcu_read_unlock();
6041 /* 6041 /*
6042 * Only show locks if all tasks are dumped: 6042 * Only show locks if all tasks are dumped:
6043 */ 6043 */