The patch titled generic swap(): sched: remove local swap() macro has been removed from the -mm tree. Its filename was generic-swap-sched-remove-local-swap-macro.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: generic swap(): sched: remove local swap() macro From: Wu Fengguang <fengguang.wu@xxxxxxxxx> Use the new generic implementation. Signed-off-by: Wu Fengguang <wfg@xxxxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/sched_fair.c | 2 -- 1 file changed, 2 deletions(-) diff -puN kernel/sched_fair.c~generic-swap-sched-remove-local-swap-macro kernel/sched_fair.c --- a/kernel/sched_fair.c~generic-swap-sched-remove-local-swap-macro +++ a/kernel/sched_fair.c @@ -1617,8 +1617,6 @@ static void task_tick_fair(struct rq *rq } } -#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 _ Patches currently in -mm which might be from fengguang.wu@xxxxxxxxx are origin.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html