generic swap(): introduce global macro swap(a, b)
authorWu Fengguang <fengguang.wu@intel.com>
Thu, 8 Jan 2009 02:09:12 +0000 (18:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 8 Jan 2009 16:31:15 +0000 (08:31 -0800)
commit91f68b7359144aa40bb9668124543d15284750b4
tree69f11509a40655c17a44da9b61debdb31209f208
parentb53907c0100a353a7ac53bed260e735e5ccbbbcc
generic swap(): introduce global macro swap(a, b)

There have been some local definitions of swap(), it's time to replace
them all with a uniform one.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kernel.h