aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/rcutorture.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c
index c224da41890c..4d256dba7d9b 100644
--- a/kernel/rcutorture.c
+++ b/kernel/rcutorture.c
@@ -163,11 +163,11 @@ static int stutter_pause_test;
163#endif 163#endif
164int rcutorture_runnable = RCUTORTURE_RUNNABLE_INIT; 164int rcutorture_runnable = RCUTORTURE_RUNNABLE_INIT;
165 165
166#ifdef CONFIG_RCU_BOOST 166#if defined(CONFIG_RCU_BOOST) && !defined(CONFIG_HOTPLUG_CPU)
167#define rcu_can_boost() 1 167#define rcu_can_boost() 1
168#else /* #ifdef CONFIG_RCU_BOOST */ 168#else /* #if defined(CONFIG_RCU_BOOST) && !defined(CONFIG_HOTPLUG_CPU) */
169#define rcu_can_boost() 0 169#define rcu_can_boost() 0
170#endif /* #else #ifdef CONFIG_RCU_BOOST */ 170#endif /* #else #if defined(CONFIG_RCU_BOOST) && !defined(CONFIG_HOTPLUG_CPU) */
171 171
172static unsigned long boost_starttime; /* jiffies of next boost test start. */ 172static unsigned long boost_starttime; /* jiffies of next boost test start. */
173DEFINE_MUTEX(boost_mutex); /* protect setting boost_starttime */ 173DEFINE_MUTEX(boost_mutex); /* protect setting boost_starttime */