mirror of https://github.com/sipwise/rtpengine.git
On some 32-bit architectures, such as armhf, the CPU does not have a 64-bit division instruction, and the compiler injects an intrinsic function reference (such as __aeabi_ldivmod) that is provided for example by libgcc. When compiling Linux kernel code, we are not using libgcc, so such references end up being undefined, failing the link. Instead we need to use support provided by the kernel itself. In this case the do_div() macro. Change-Id: I5ed60aee487e66d6fcfc2293644d773b6820c178 (cherry picked from commitmr13.5.1b688988363) (cherry picked from commit3e57259b73)
parent
7634448563
commit
b69883693d
Loading…
Reference in new issue