aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/rcupdate.c
diff options
context:
space:
mode:
authorAndrew Cooper <andrew.cooper3@citrix.com>2012-02-09 06:14:20 -0800
committerAndrew Cooper <andrew.cooper3@citrix.com>2012-02-09 06:14:20 -0800
commit36556194faa97929b06adf50cdd327ff5dae54e9 (patch)
treebad60cf93fd3a09451deb563714b2ac6e68f389c /xen/common/rcupdate.c
parentc15e8799eab113f28f343e68433b955ba7f77cbf (diff)
downloadxen-36556194faa97929b06adf50cdd327ff5dae54e9.tar.gz
xen-36556194faa97929b06adf50cdd327ff5dae54e9.tar.bz2
xen-36556194faa97929b06adf50cdd327ff5dae54e9.zip
CONFIG: remove CONFIG_SMP #ifdefs
CONFIG_SMP is always enabled and !CONFIG_SMP is not supported. So simplify the code a little by removing all #ifdefs. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/common/rcupdate.c')
-rw-r--r--xen/common/rcupdate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xen/common/rcupdate.c b/xen/common/rcupdate.c
index 6e6483e100..158e2d554b 100644
--- a/xen/common/rcupdate.c
+++ b/xen/common/rcupdate.c
@@ -83,9 +83,7 @@ struct rcu_data {
long blimit; /* Upper limit on a processed batch */
int cpu;
struct rcu_head barrier;
-#ifdef CONFIG_SMP
long last_rs_qlen; /* qlen during the last resched */
-#endif
};
static DEFINE_PER_CPU(struct rcu_data, rcu_data);