Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321324
b: refs/heads/master
c: 45afb17
h: refs/heads/master
v: v3
  • Loading branch information
Namhyung Kim authored and Ingo Molnar committed Jul 26, 2012
1 parent 48485c5 commit f7bab32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6956dc568f34107f1d02b24f87efe7250803fc87
refs/heads/master: 45afb1734fa6323a8ba08bd6c392ee227df67dde
4 changes: 1 addition & 3 deletions trunk/kernel/sched/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -4340,9 +4340,7 @@ static int __sched_setscheduler(struct task_struct *p, int policy,
*/
if (unlikely(policy == p->policy && (!rt_policy(policy) ||
param->sched_priority == p->rt_priority))) {

__task_rq_unlock(rq);
raw_spin_unlock_irqrestore(&p->pi_lock, flags);
task_rq_unlock(rq, p, &flags);
return 0;
}

Expand Down

0 comments on commit f7bab32

Please sign in to comment.