mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
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>
This commit is contained in:
parent
354d9c952d
commit
9debaaecb9
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue