diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2016-02-18 11:12:42 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-10 20:45:44 -0500 |
commit | 9debaaecb9070c05bbc3b5d2257d6aea416ccab6 (patch) | |
tree | 521880e67666f3cef2bf44524e7abfe8dad11dd8 /drivers/infiniband/sw | |
parent | 354d9c952d9db01d561abd55fdfa09ccc67039f9 (diff) | |
download | linux-9debaaecb9070c05bbc3b5d2257d6aea416ccab6.tar.bz2 |
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>
Diffstat (limited to 'drivers/infiniband/sw')
-rw-r--r-- | drivers/infiniband/sw/rdmavt/vt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rdmavt/vt.c b/drivers/infiniband/sw/rdmavt/vt.c index 9566a920a244..6caf5272ba1f 100644 --- a/drivers/infiniband/sw/rdmavt/vt.c +++ b/drivers/infiniband/sw/rdmavt/vt.c @@ -383,7 +383,7 @@ static inline int check_driver_override(struct rvt_dev_info *rdi, return 1; } -static int check_support(struct rvt_dev_info *rdi, int verb) +static noinline int check_support(struct rvt_dev_info *rdi, int verb) { switch (verb) { case MISC: |