diff options
| author | Ying Xue <[email protected]> | 2012-07-12 07:03:42 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2012-07-26 09:47:00 +0000 |
| commit | 014acbf0d5c8445e0ff88ae60edd676dd9cc461c (patch) | |
| tree | 673eabcb0330688967e97f1311749262d7bc41b4 | |
| parent | sched: Use task_rq_unlock() in __sched_setscheduler() (diff) | |
| download | kernel-014acbf0d5c8445e0ff88ae60edd676dd9cc461c.tar.gz kernel-014acbf0d5c8445e0ff88ae60edd676dd9cc461c.zip | |
sched: Fix minor code style issues
Delete redudant spaces between type name and data name or operators.
Signed-off-by: Ying Xue <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
| -rw-r--r-- | kernel/sched/cpupri.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/sched/cpupri.c b/kernel/sched/cpupri.c index d72586fdf660..23aa789c53ee 100644 --- a/kernel/sched/cpupri.c +++ b/kernel/sched/cpupri.c @@ -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; @@ -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); |
