IB/mthca: use swap() in mthca_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: Doug Ledford <dledford@redhat.com>
This commit is contained in:
Fabian Frederick 2015-06-10 18:31:51 +02:00 • committed by Doug Ledford
commit ed0de4a8c9