Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321325
b: refs/heads/master
c: 014acbf
h: refs/heads/master
i:
  321323: 48485c5
v: v3
  • Loading branch information
Ying Xue authored and Ingo Molnar committed Jul 26, 2012
1 parent f7bab32 commit 256a6ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 45afb1734fa6323a8ba08bd6c392ee227df67dde
refs/heads/master: 014acbf0d5c8445e0ff88ae60edd676dd9cc461c
10 changes: 5 additions & 5 deletions trunk/kernel/sched/cpupri.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ static int convert_prio(int prio)
int cpupri_find(struct cpupri *cp, struct task_struct *p,
struct cpumask *lowest_mask)
{
int idx = 0;
int task_pri = convert_prio(p->prio);
int idx = 0;
int task_pri = convert_prio(p->prio);

if (task_pri >= MAX_RT_PRIO)
return 0;
Expand Down Expand Up @@ -137,9 +137,9 @@ int cpupri_find(struct cpupri *cp, struct task_struct *p,
*/
void cpupri_set(struct cpupri *cp, int cpu, int newpri)
{
int *currpri = &cp->cpu_to_pri[cpu];
int oldpri = *currpri;
int do_mb = 0;
int *currpri = &cp->cpu_to_pri[cpu];
int oldpri = *currpri;
int do_mb = 0;

newpri = convert_prio(newpri);

Expand Down

0 comments on commit 256a6ae

Please sign in to comment.