提交 9debaaec 编写于 作者: M Mike Marciniszyn 提交者: Doug Ledford

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: NDennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: NMike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: NDoug Ledford <dledford@redhat.com>
上级 354d9c95
...@@ -383,7 +383,7 @@ static inline int check_driver_override(struct rvt_dev_info *rdi, ...@@ -383,7 +383,7 @@ static inline int check_driver_override(struct rvt_dev_info *rdi,
return 1; 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) { switch (verb) {
case MISC: case MISC:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册