aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/rcutree_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcutree_plugin.h b/kernel/rcutree_plugin.h
index 79860531716..708dc579634 100644
--- a/kernel/rcutree_plugin.h
+++ b/kernel/rcutree_plugin.h
@@ -1910,7 +1910,7 @@ void synchronize_sched_expedited(void)
1910 * grace period works for us. 1910 * grace period works for us.
1911 */ 1911 */
1912 get_online_cpus(); 1912 get_online_cpus();
1913 snap = atomic_read(&sync_sched_expedited_started) - 1; 1913 snap = atomic_read(&sync_sched_expedited_started);
1914 smp_mb(); /* ensure read is before try_stop_cpus(). */ 1914 smp_mb(); /* ensure read is before try_stop_cpus(). */
1915 } 1915 }
1916 1916