Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287138
b: refs/heads/master
c: cb297a3
h: refs/heads/master
v: v3
  • Loading branch information
Chanho Min authored and Ingo Molnar committed Jan 27, 2012
1 parent 254ebb9 commit 8ac068a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b5740f4b2cb3503b436925eb2242bc3d75cd3dfe
refs/heads/master: cb297a3e433dbdcf7ad81e0564e7b804c941ff0d
5 changes: 5 additions & 0 deletions trunk/kernel/sched/rt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1587,6 +1587,11 @@ static int push_rt_task(struct rq *rq)
if (!next_task)
return 0;

#ifdef __ARCH_WANT_INTERRUPTS_ON_CTXSW
if (unlikely(task_running(rq, next_task)))
return 0;
#endif

retry:
if (unlikely(next_task == rq->curr)) {
WARN_ON(1);
Expand Down

0 comments on commit 8ac068a

Please sign in to comment.