diff options
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r-- | kernel/rcutree.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c index a9f51031d3e8..d47e03e5792a 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c | |||
@@ -60,7 +60,8 @@ static struct lock_class_key rcu_node_class[NUM_RCU_LVLS]; | |||
60 | NUM_RCU_LVL_0, /* root of hierarchy. */ \ | 60 | NUM_RCU_LVL_0, /* root of hierarchy. */ \ |
61 | NUM_RCU_LVL_1, \ | 61 | NUM_RCU_LVL_1, \ |
62 | NUM_RCU_LVL_2, \ | 62 | NUM_RCU_LVL_2, \ |
63 | NUM_RCU_LVL_3, /* == MAX_RCU_LVLS */ \ | 63 | NUM_RCU_LVL_3, \ |
64 | NUM_RCU_LVL_4, /* == MAX_RCU_LVLS */ \ | ||
64 | }, \ | 65 | }, \ |
65 | .signaled = RCU_GP_IDLE, \ | 66 | .signaled = RCU_GP_IDLE, \ |
66 | .gpnum = -300, \ | 67 | .gpnum = -300, \ |
@@ -1877,6 +1878,9 @@ void __init rcu_init(void) | |||
1877 | #ifdef CONFIG_RCU_CPU_STALL_DETECTOR | 1878 | #ifdef CONFIG_RCU_CPU_STALL_DETECTOR |
1878 | printk(KERN_INFO "RCU-based detection of stalled CPUs is enabled.\n"); | 1879 | printk(KERN_INFO "RCU-based detection of stalled CPUs is enabled.\n"); |
1879 | #endif /* #ifdef CONFIG_RCU_CPU_STALL_DETECTOR */ | 1880 | #endif /* #ifdef CONFIG_RCU_CPU_STALL_DETECTOR */ |
1881 | #if NUM_RCU_LVL_4 != 0 | ||
1882 | printk(KERN_INFO "Experimental four-level hierarchy is enabled.\n"); | ||
1883 | #endif /* #if NUM_RCU_LVL_4 != 0 */ | ||
1880 | RCU_INIT_FLAVOR(&rcu_sched_state, rcu_sched_data); | 1884 | RCU_INIT_FLAVOR(&rcu_sched_state, rcu_sched_data); |
1881 | RCU_INIT_FLAVOR(&rcu_bh_state, rcu_bh_data); | 1885 | RCU_INIT_FLAVOR(&rcu_bh_state, rcu_bh_data); |
1882 | __rcu_init_preempt(); | 1886 | __rcu_init_preempt(); |