File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1832,15 +1832,15 @@ static noinline_for_stack bool rcu_gp_init(void)
1832
1832
WRITE_ONCE (rcu_state .gp_state , RCU_GP_ONOFF );
1833
1833
/* Exclude CPU hotplug operations. */
1834
1834
rcu_for_each_leaf_node (rnp ) {
1835
- local_irq_save ( flags );
1835
+ local_irq_disable ( );
1836
1836
arch_spin_lock (& rcu_state .ofl_lock );
1837
1837
raw_spin_lock_rcu_node (rnp );
1838
1838
if (rnp -> qsmaskinit == rnp -> qsmaskinitnext &&
1839
1839
!rnp -> wait_blkd_tasks ) {
1840
1840
/* Nothing to do on this leaf rcu_node structure. */
1841
1841
raw_spin_unlock_rcu_node (rnp );
1842
1842
arch_spin_unlock (& rcu_state .ofl_lock );
1843
- local_irq_restore ( flags );
1843
+ local_irq_enable ( );
1844
1844
continue ;
1845
1845
}
1846
1846
@@ -1877,7 +1877,7 @@ static noinline_for_stack bool rcu_gp_init(void)
1877
1877
1878
1878
raw_spin_unlock_rcu_node (rnp );
1879
1879
arch_spin_unlock (& rcu_state .ofl_lock );
1880
- local_irq_restore ( flags );
1880
+ local_irq_enable ( );
1881
1881
}
1882
1882
rcu_gp_slow (gp_preinit_delay ); /* Races with CPU hotplug. */
1883
1883
You can’t perform that action at this time.
0 commit comments