|
@@ -163,11 +163,11 @@ static int stutter_pause_test;
|
|
|
#endif
|
|
|
int rcutorture_runnable = RCUTORTURE_RUNNABLE_INIT;
|
|
|
|
|
|
-#ifdef CONFIG_RCU_BOOST
|
|
|
+#if defined(CONFIG_RCU_BOOST) && !defined(CONFIG_HOTPLUG_CPU)
|
|
|
#define rcu_can_boost() 1
|
|
|
-#else /* #ifdef CONFIG_RCU_BOOST */
|
|
|
+#else /* #if defined(CONFIG_RCU_BOOST) && !defined(CONFIG_HOTPLUG_CPU) */
|
|
|
#define rcu_can_boost() 0
|
|
|
-#endif /* #else #ifdef CONFIG_RCU_BOOST */
|
|
|
+#endif /* #else #if defined(CONFIG_RCU_BOOST) && !defined(CONFIG_HOTPLUG_CPU) */
|
|
|
|
|
|
static unsigned long boost_starttime; /* jiffies of next boost test start. */
|
|
|
DEFINE_MUTEX(boost_mutex); /* protect setting boost_starttime */
|