summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2011-05-20 06:01:10 +0200
committerDavid S. Miller <davem@davemloft.net>2011-05-20 22:10:55 +0200
commit17d9f311eca13a42bf950198a358be1420d19c5f (patch)
tree2d1a77f66ccd607f6ab2cf304f8031724a82c7fc /kernel
parentMerge commit '317f394160e9beb97d19a84c39b7e5eb3d7815a8' (diff)
downloadlinux-17d9f311eca13a42bf950198a358be1420d19c5f.tar.xz
linux-17d9f311eca13a42bf950198a358be1420d19c5f.zip
SCHED_TTWU_QUEUE is not longer needed since sparc32 now implements IPI
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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
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;