From: Daniel Hellstrom Date: Fri, 20 May 2011 04:01:10 +0000 (+0000) Subject: SCHED_TTWU_QUEUE is not longer needed since sparc32 now implements IPI X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=17d9f311eca13a42bf950198a358be1420d19c5f;p=deliverable%2Flinux.git SCHED_TTWU_QUEUE is not longer needed since sparc32 now implements IPI Signed-off-by: Daniel Hellstrom Reported-by: Peter Zijlstra Acked-by: Peter Zijlstra Signed-off-by: David S. Miller --- 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 desktop applications. Task group autogeneration is currently based upon task session. -config SCHED_TTWU_QUEUE - bool - depends on !SPARC32 - default y - config MM_OWNER bool 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) { struct rq *rq = cpu_rq(cpu); -#if defined(CONFIG_SMP) && defined(CONFIG_SCHED_TTWU_QUEUE) +#if defined(CONFIG_SMP) if (sched_feat(TTWU_QUEUE) && cpu != smp_processor_id()) { ttwu_queue_remote(p, cpu); return;