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 commitmr26.0.1b688988363) (cherry picked from commitbbf6181dfe)
parent
29312eef76
commit
884cbe9083
Loading…
Reference in new issue