aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcutree.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r--kernel/rcutree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c
index a4c592b66e10..0fdbc5e07302 100644
--- a/kernel/rcutree.c
+++ b/kernel/rcutree.c
@@ -2675,7 +2675,7 @@ static void __init rcu_init_geometry(void)
2675{ 2675{
2676 int i; 2676 int i;
2677 int j; 2677 int j;
2678 int n = NR_CPUS; 2678 int n = nr_cpu_ids;
2679 int rcu_capacity[MAX_RCU_LVLS + 1]; 2679 int rcu_capacity[MAX_RCU_LVLS + 1];
2680 2680
2681 /* If the compile-time values are accurate, just leave. */ 2681 /* If the compile-time values are accurate, just leave. */