net/mlx4_core: use swap() in mlx4_make_profile()
authorFabian Frederick <fabf@skynet.be>
Wed, 10 Jun 2015 16:33:13 +0000 (18:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jun 2015 22:19:41 +0000 (15:19 -0700)
commite55898a7ed3c1fb3ebf866e84c93f35e2bed7d5d
tree3e02ee365fee2f43689f71abba58ffe184768c87
parent2df1cafa6785b680686e94c74f63e74e971195da
net/mlx4_core: use swap() in mlx4_make_profile()

Use kernel.h macro definition.

Thanks to Julia Lawall for Coccinelle scripting support.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/profile.c