projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe5c7cc
)
sched: fix style of swap() macro in kernel/sched_fair.c
author
Ingo Molnar
<mingo@elte.hu>
Mon, 29 Oct 2007 20:18:11 +0000
(21:18 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Mon, 29 Oct 2007 20:18:11 +0000
(21:18 +0100)
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: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched_fair.c
b/kernel/sched_fair.c
index 9971831b560e966281b8ba4c70a7bd8f3dffafbc..01859f662ab7c834826f9197e93ebe9d44ad548a 100644
(file)
--- a/
kernel/sched_fair.c
+++ b/
kernel/sched_fair.c
@@
-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