summaryrefslogtreecommitdiffstats
path: root/kernel/rcutree.c
diff options
context:
space:
mode:
authorLi Zhong <zhong@linux.vnet.ibm.com>2013-01-07 09:36:48 -0800
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2013-01-26 16:34:48 -0800
commit347f42382184f7448fa96bf9e9fa4eb6f6d1099e (patch)
treefd784fd8c7ae6b0ef2291a7cc2cf59da689d518e /kernel/rcutree.c
parent2f03e3ca74a7f8b17ce626d337d321163dce2dad (diff)
downloadop-kernel-dev-347f42382184f7448fa96bf9e9fa4eb6f6d1099e.zip
op-kernel-dev-347f42382184f7448fa96bf9e9fa4eb6f6d1099e.tar.gz
rcu: Remove unused code originally used for context tracking
As context tracking subsystem evolved, it stopped using ignore_user_qs and in_user defined in the rcu_dynticks structure. This commit therefore removes them. Signed-off-by: Li Zhong <zhong@linux.vnet.ibm.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r--kernel/rcutree.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c
index d78ba60..8a13c8e 100644
--- a/kernel/rcutree.c
+++ b/kernel/rcutree.c
@@ -2719,9 +2719,6 @@ rcu_boot_init_percpu_data(int cpu, struct rcu_state *rsp)
rdp->dynticks = &per_cpu(rcu_dynticks, cpu);
WARN_ON_ONCE(rdp->dynticks->dynticks_nesting != DYNTICK_TASK_EXIT_IDLE);
WARN_ON_ONCE(atomic_read(&rdp->dynticks->dynticks) != 1);
-#ifdef CONFIG_RCU_USER_QS
- WARN_ON_ONCE(rdp->dynticks->in_user);
-#endif
rdp->cpu = cpu;
rdp->rsp = rsp;
rcu_boot_init_nocb_percpu_data(rdp);
OpenPOWER on IntegriCloud