Skip to content
Snippets Groups Projects
Commit 9debaaec authored by Mike Marciniszyn's avatar Mike Marciniszyn Committed by Doug Ledford
Browse files

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: default avatarDennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: default avatarMike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 354d9c95
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment