diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2012-01-12 22:35:08 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-02-21 12:03:47 -0500 |
commit | 27565d64a4e564e72c22d8c91a3cfcb9442383e8 (patch) | |
tree | 699319f63f6c1cddc04ce85e77b3718361bbe03f /kernel/rcutree_plugin.h | |
parent | 5e1ee6e1016763812018bf5c5e966992821dc47e (diff) |
rcu: Remove #ifdef CONFIG_SMP from TREE_RCU
Now that both TINY_RCU and TINY_PREEMPT_RCU have been in place for awhile,
it is time to remove UP support from TREE_RCU, which is what this commit
does.
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcutree_plugin.h')
-rw-r--r-- | kernel/rcutree_plugin.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/kernel/rcutree_plugin.h b/kernel/rcutree_plugin.h index 297d561c3e4b..0e74e1c6333f 100644 --- a/kernel/rcutree_plugin.h +++ b/kernel/rcutree_plugin.h | |||
@@ -1858,16 +1858,6 @@ static void __cpuinit rcu_prepare_kthreads(int cpu) | |||
1858 | 1858 | ||
1859 | #endif /* #else #ifdef CONFIG_RCU_BOOST */ | 1859 | #endif /* #else #ifdef CONFIG_RCU_BOOST */ |
1860 | 1860 | ||
1861 | #ifndef CONFIG_SMP | ||
1862 | |||
1863 | void synchronize_sched_expedited(void) | ||
1864 | { | ||
1865 | cond_resched(); | ||
1866 | } | ||
1867 | EXPORT_SYMBOL_GPL(synchronize_sched_expedited); | ||
1868 | |||
1869 | #else /* #ifndef CONFIG_SMP */ | ||
1870 | |||
1871 | static atomic_t sync_sched_expedited_started = ATOMIC_INIT(0); | 1861 | static atomic_t sync_sched_expedited_started = ATOMIC_INIT(0); |
1872 | static atomic_t sync_sched_expedited_done = ATOMIC_INIT(0); | 1862 | static atomic_t sync_sched_expedited_done = ATOMIC_INIT(0); |
1873 | 1863 | ||
@@ -1982,8 +1972,6 @@ void synchronize_sched_expedited(void) | |||
1982 | } | 1972 | } |
1983 | EXPORT_SYMBOL_GPL(synchronize_sched_expedited); | 1973 | EXPORT_SYMBOL_GPL(synchronize_sched_expedited); |
1984 | 1974 | ||
1985 | #endif /* #else #ifndef CONFIG_SMP */ | ||
1986 | |||
1987 | #if !defined(CONFIG_RCU_FAST_NO_HZ) | 1975 | #if !defined(CONFIG_RCU_FAST_NO_HZ) |
1988 | 1976 | ||
1989 | /* | 1977 | /* |