projects
/
GitHub
/
LineageOS
/
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:
97e133b
)
generic swap(): sched: remove local swap() macro
author
Wu Fengguang
<fengguang.wu@intel.com>
Thu, 8 Jan 2009 02:09:14 +0000
(18:09 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 8 Jan 2009 16:31:15 +0000
(08:31 -0800)
Use the new generic implementation.
Signed-off-by: Wu Fengguang <wfg@linux.intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sched_fair.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched_fair.c
b/kernel/sched_fair.c
index e0c0b4bc3f08e822d976fe2d6c222300a61c6352..8e1352c75557308bf1e892bb260b39e9feffd10f 100644
(file)
--- a/
kernel/sched_fair.c
+++ b/
kernel/sched_fair.c
@@
-1617,8
+1617,6
@@
static void task_tick_fair(struct rq *rq, struct task_struct *curr, int queued)
}
}
-#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
* total amount of pressure for CPU stays equal - new tasks