IB/rdamvt: fix cross build with rdmavt
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Thu, 18 Feb 2016 19:12:42 +0000 (11:12 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:45:44 +0000 (20:45 -0500)
commit9debaaecb9070c05bbc3b5d2257d6aea416ccab6
tree521880e67666f3cef2bf44524e7abfe8dad11dd8
parent354d9c952d9db01d561abd55fdfa09ccc67039f9
IB/rdamvt: fix cross build with rdmavt

The new check routine causes a larger than supported frame size
on s390.

Changing the check routine to noinline fixes the issue.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rdmavt/vt.c