aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcutree_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rcutree_plugin.h')
-rw-r--r--kernel/rcutree_plugin.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/kernel/rcutree_plugin.h b/kernel/rcutree_plugin.h
index c8bff3099a89..ea2e2fb79e81 100644
--- a/kernel/rcutree_plugin.h
+++ b/kernel/rcutree_plugin.h
@@ -1299,15 +1299,10 @@ static int __cpuinit rcu_spawn_one_boost_kthread(struct rcu_state *rsp,
1299 raw_spin_unlock_irqrestore(&rnp->lock, flags); 1299 raw_spin_unlock_irqrestore(&rnp->lock, flags);
1300 sp.sched_priority = RCU_KTHREAD_PRIO; 1300 sp.sched_priority = RCU_KTHREAD_PRIO;
1301 sched_setscheduler_nocheck(t, SCHED_FIFO, &sp); 1301 sched_setscheduler_nocheck(t, SCHED_FIFO, &sp);
1302 wake_up_process(t); /* get to TASK_INTERRUPTIBLE quickly. */
1302 return 0; 1303 return 0;
1303} 1304}
1304 1305
1305static void __cpuinit rcu_wake_one_boost_kthread(struct rcu_node *rnp)
1306{
1307 if (rnp->boost_kthread_task)
1308 wake_up_process(rnp->boost_kthread_task);
1309}
1310
1311#else /* #ifdef CONFIG_RCU_BOOST */ 1306#else /* #ifdef CONFIG_RCU_BOOST */
1312 1307
1313static void rcu_initiate_boost(struct rcu_node *rnp, unsigned long flags) 1308static void rcu_initiate_boost(struct rcu_node *rnp, unsigned long flags)
@@ -1331,10 +1326,6 @@ static int __cpuinit rcu_spawn_one_boost_kthread(struct rcu_state *rsp,
1331 return 0; 1326 return 0;
1332} 1327}
1333 1328
1334static void __cpuinit rcu_wake_one_boost_kthread(struct rcu_node *rnp)
1335{
1336}
1337
1338#endif /* #else #ifdef CONFIG_RCU_BOOST */ 1329#endif /* #else #ifdef CONFIG_RCU_BOOST */
1339 1330
1340#ifndef CONFIG_SMP 1331#ifndef CONFIG_SMP