]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
UBUNTU: SAUCE: remoteproc: qcom: Use div_u64() for 64-bit division
authorSeth Forshee <seth.forshee@canonical.com>
Wed, 19 Aug 2020 20:39:23 +0000 (15:39 -0500)
committerAndrea Righi <andrea.righi@canonical.com>
Mon, 15 Feb 2021 07:25:56 +0000 (08:25 +0100)
commit942dcea0b942ba9c565eefebc1e1ad548bfa88e9
tree1687be93f3694d159da3bdd3e92f6b0e696c5000
parent917a4916e5309411513a1d7e600a04c16f7ff4b5
UBUNTU: SAUCE: remoteproc: qcom: Use div_u64() for 64-bit division

Compiling this module in a 32-bit kernel fails.

 ERROR: modpost: "__aeabi_uldivmod" [drivers/remoteproc/qcom_pil_info.ko] undefined!

Fix this by using div_u64() for the 64-bit division.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/remoteproc/qcom_pil_info.c