diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2012-09-12 05:22:00 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-09-13 10:52:04 -0400 |
commit | f3e947867478af9a12b9956bcd000ac7613a8a95 (patch) | |
tree | 63fabb89439447e0f72c465e8b8d0852e9deff08 /kernel/sched/rt.c | |
parent | 5ed4f1d96deee82ee92cd1ac1e0108c27e80e9b0 (diff) |
sched: Remove __ARCH_WANT_INTERRUPTS_ON_CTXSW
Now that the last architecture to use this has stopped doing so (ARM,
thanks Catalin!) we can remove this complexity from the scheduler
core.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Link: http://lkml.kernel.org/n/tip-g9p2a1w81xxbrze25v9zpzbf@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/rt.c')
-rw-r--r-- | kernel/sched/rt.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c index e0b7ba9c040f..418feb01344e 100644 --- a/kernel/sched/rt.c +++ b/kernel/sched/rt.c | |||
@@ -1632,11 +1632,6 @@ static int push_rt_task(struct rq *rq) | |||
1632 | if (!next_task) | 1632 | if (!next_task) |
1633 | return 0; | 1633 | return 0; |
1634 | 1634 | ||
1635 | #ifdef __ARCH_WANT_INTERRUPTS_ON_CTXSW | ||
1636 | if (unlikely(task_running(rq, next_task))) | ||
1637 | return 0; | ||
1638 | #endif | ||
1639 | |||
1640 | retry: | 1635 | retry: |
1641 | if (unlikely(next_task == rq->curr)) { | 1636 | if (unlikely(next_task == rq->curr)) { |
1642 | WARN_ON(1); | 1637 | WARN_ON(1); |