Skip to content

Commit

Permalink
SCHED_TTWU_QUEUE is not longer needed since sparc32 now implements IPI
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hellstrom <[email protected]>
Reported-by: Peter Zijlstra <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
daniel-hellstrom authored and davem330 committed May 20, 2011
1 parent 90d3ac1 commit 17d9f31
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 17d9f31

Please sign in to comment.