aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcutree.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r--kernel/rcutree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c
index 3b13d64b010b..099a255ede4c 100644
--- a/kernel/rcutree.c
+++ b/kernel/rcutree.c
@@ -1888,7 +1888,7 @@ do { \
1888 1888
1889void __init rcu_init(void) 1889void __init rcu_init(void)
1890{ 1890{
1891 int i; 1891 int cpu;
1892 1892
1893 rcu_bootup_announce(); 1893 rcu_bootup_announce();
1894#ifdef CONFIG_RCU_CPU_STALL_DETECTOR 1894#ifdef CONFIG_RCU_CPU_STALL_DETECTOR
@@ -1908,8 +1908,8 @@ void __init rcu_init(void)
1908 * or the scheduler are operational. 1908 * or the scheduler are operational.
1909 */ 1909 */
1910 cpu_notifier(rcu_cpu_notify, 0); 1910 cpu_notifier(rcu_cpu_notify, 0);
1911 for_each_online_cpu(i) 1911 for_each_online_cpu(cpu)
1912 rcu_cpu_notify(NULL, CPU_UP_PREPARE, (void *)(long)i); 1912 rcu_cpu_notify(NULL, CPU_UP_PREPARE, (void *)(long)cpu);
1913} 1913}
1914 1914
1915#include "rcutree_plugin.h" 1915#include "rcutree_plugin.h"