aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init/Kconfig5
-rw-r--r--kernel/sched.c2
2 files changed, 1 insertions, 6 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 32745bfe059e..56240e724d9a 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -827,11 +827,6 @@ config SCHED_AUTOGROUP
827 desktop applications. Task group autogeneration is currently based 827 desktop applications. Task group autogeneration is currently based
828 upon task session. 828 upon task session.
829 829
830config SCHED_TTWU_QUEUE
831 bool
832 depends on !SPARC32
833 default y
834
835config MM_OWNER 830config MM_OWNER
836 bool 831 bool
837 832
diff --git a/kernel/sched.c b/kernel/sched.c
index 8c9d804dc07d..c4b3410d68d3 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -2568,7 +2568,7 @@ static void ttwu_queue(struct task_struct *p, int cpu)
2568{ 2568{
2569 struct rq *rq = cpu_rq(cpu); 2569 struct rq *rq = cpu_rq(cpu);
2570 2570
2571#if defined(CONFIG_SMP) && defined(CONFIG_SCHED_TTWU_QUEUE) 2571#if defined(CONFIG_SMP)
2572 if (sched_feat(TTWU_QUEUE) && cpu != smp_processor_id()) { 2572 if (sched_feat(TTWU_QUEUE) && cpu != smp_processor_id()) {
2573 ttwu_queue_remote(p, cpu); 2573 ttwu_queue_remote(p, cpu);
2574 return; 2574 return;