Commit 8eb172d9 authored by Ingo Molnar's avatar Ingo Molnar

sched: fix style of swap() macro in kernel/sched_fair.c

fix style of swap() macro in kernel/sched_fair.c.

( this macro should eventually move to a general header, as ext3 uses
  a similar construct too. )
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent fe5c7cc2
...@@ -1025,7 +1025,7 @@ static void task_tick_fair(struct rq *rq, struct task_struct *curr) ...@@ -1025,7 +1025,7 @@ static void task_tick_fair(struct rq *rq, struct task_struct *curr)
} }
} }
#define swap(a,b) do { typeof(a) tmp = (a); (a) = (b); (b) = tmp; } while (0) #define swap(a, b) do { typeof(a) tmp = (a); (a) = (b); (b) = tmp; } while (0)
/* /*
* Share the fairness runtime between parent and child, thus the * Share the fairness runtime between parent and child, thus the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment