summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree.h
diff options
context:
space:
mode:
authorIulia Manda <iulia.manda21@gmail.com>2014-03-11 13:18:22 +0200
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-04-29 08:43:38 -0700
commit9b67122ae3da3018c966148233739116ed89502a (patch)
treee2ac8517c0e5b100ba3713073d3a212e2fa4c313 /kernel/rcu/tree.h
parent365187fbc04fd55766bf6a94e37e558505bf480a (diff)
downloadop-kernel-dev-9b67122ae3da3018c966148233739116ed89502a.zip
op-kernel-dev-9b67122ae3da3018c966148233739116ed89502a.tar.gz
rcu: Remove unused rcu_data structure field
The ->preemptible field in rcu_data is only initialized in the function rcu_init_percpu_data(), and never used. This commit therefore removes this field. Signed-off-by: Iulia Manda <iulia.manda21@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/rcu/tree.h')
-rw-r--r--kernel/rcu/tree.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h
index 7b572c5..13766ad 100644
--- a/kernel/rcu/tree.h
+++ b/kernel/rcu/tree.h
@@ -252,7 +252,6 @@ struct rcu_data {
bool passed_quiesce; /* User-mode/idle loop etc. */
bool qs_pending; /* Core waits for quiesc state. */
bool beenonline; /* CPU online at least once. */
- bool preemptible; /* Preemptible RCU? */
struct rcu_node *mynode; /* This CPU's leaf of hierarchy */
unsigned long grpmask; /* Mask to apply to leaf qsmask. */
#ifdef CONFIG_RCU_CPU_STALL_INFO
OpenPOWER on IntegriCloud