diff options
Diffstat (limited to 'kernel/rcu/tree.c')
| -rw-r--r-- | kernel/rcu/tree.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 19beabe73629..6f2922168216 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c | |||
| @@ -27,6 +27,9 @@ | |||
| 27 | * For detailed explanation of Read-Copy Update mechanism see - | 27 | * For detailed explanation of Read-Copy Update mechanism see - |
| 28 | * Documentation/RCU | 28 | * Documentation/RCU |
| 29 | */ | 29 | */ |
| 30 | |||
| 31 | #define pr_fmt(fmt) "rcu: " fmt | ||
| 32 | |||
| 30 | #include <linux/types.h> | 33 | #include <linux/types.h> |
| 31 | #include <linux/kernel.h> | 34 | #include <linux/kernel.h> |
| 32 | #include <linux/init.h> | 35 | #include <linux/init.h> |
| @@ -1374,8 +1377,7 @@ static void print_other_cpu_stall(struct rcu_state *rsp, unsigned long gp_seq) | |||
| 1374 | * See Documentation/RCU/stallwarn.txt for info on how to debug | 1377 | * See Documentation/RCU/stallwarn.txt for info on how to debug |
| 1375 | * RCU CPU stall warnings. | 1378 | * RCU CPU stall warnings. |
| 1376 | */ | 1379 | */ |
| 1377 | pr_err("INFO: %s detected stalls on CPUs/tasks:", | 1380 | pr_err("INFO: %s detected stalls on CPUs/tasks:", rsp->name); |
| 1378 | rsp->name); | ||
| 1379 | print_cpu_stall_info_begin(); | 1381 | print_cpu_stall_info_begin(); |
| 1380 | rcu_for_each_leaf_node(rsp, rnp) { | 1382 | rcu_for_each_leaf_node(rsp, rnp) { |
| 1381 | raw_spin_lock_irqsave_rcu_node(rnp, flags); | 1383 | raw_spin_lock_irqsave_rcu_node(rnp, flags); |
| @@ -4048,7 +4050,7 @@ static void __init rcu_init_geometry(void) | |||
| 4048 | if (rcu_fanout_leaf == RCU_FANOUT_LEAF && | 4050 | if (rcu_fanout_leaf == RCU_FANOUT_LEAF && |
| 4049 | nr_cpu_ids == NR_CPUS) | 4051 | nr_cpu_ids == NR_CPUS) |
| 4050 | return; | 4052 | return; |
| 4051 | pr_info("RCU: Adjusting geometry for rcu_fanout_leaf=%d, nr_cpu_ids=%u\n", | 4053 | pr_info("Adjusting geometry for rcu_fanout_leaf=%d, nr_cpu_ids=%u\n", |
| 4052 | rcu_fanout_leaf, nr_cpu_ids); | 4054 | rcu_fanout_leaf, nr_cpu_ids); |
| 4053 | 4055 | ||
| 4054 | /* | 4056 | /* |
