--- zzzz-none-000/linux-3.10.107/arch/frv/mm/elf-fdpic.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/frv/mm/elf-fdpic.c 2021-02-04 17:41:59.000000000 +0000 @@ -74,7 +74,7 @@ addr = PAGE_ALIGN(addr); vma = find_vma(current->mm, addr); if (TASK_SIZE - len >= addr && - (!vma || addr + len <= vm_start_gap(vma))) + (!vma || addr + len <= vma->vm_start)) goto success; }