mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
generic swap(): sched: remove local swap() macro
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>
This commit is contained in:
parent
97e133b454
commit
df4927bf6c
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue