]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/sched_fair.c
generic swap(): sched: remove local swap() macro
[linux-2.6-omap-h63xx.git] / kernel / sched_fair.c
index e0c0b4bc3f08e822d976fe2d6c222300a61c6352..8e1352c75557308bf1e892bb260b39e9feffd10f 100644 (file)
@@ -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