SCHED_TTWU_QUEUE is not longer needed since sparc32 now implements IPI
authorDaniel Hellstrom <daniel@gaisler.com>
Fri, 20 May 2011 04:01:10 +0000 (04:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 May 2011 20:10:55 +0000 (13:10 -0700)
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Reported-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
init/Kconfig
kernel/sched.c

index 32745bfe059e535fdcee3dd8c3fb83ebcdc71637..56240e724d9a31dc4ef43647afcf354b8a70f108 100644 (file)
@@ -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
 
index 8c9d804dc07d69a6ca334719129def35f5629f0b..c4b3410d68d39628c40b3d77eaa1cda37ae08c01 100644 (file)
@@ -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;