aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2021-01-03 14:56:12 +0100
committerBjorn Andersson <[email protected]>2021-03-08 10:49:36 -0600
commit7029e783027706b427bbfbdf8558252c1dac6fa0 (patch)
treec66db0686cd831914d42c8b63b9c16a9dad85b9b /scripts/gdb/linux/tasks.py
parenta38fd8748464831584a19438cbb3082b5a2dab15 (diff)
remoteproc: qcom: pil_info: avoid 64-bit division
On 32-bit machines with 64-bit resource_size_t, the driver causes a link failure because of the 64-bit division: arm-linux-gnueabi-ld: drivers/remoteproc/qcom_pil_info.o: in function `qcom_pil_info_store': qcom_pil_info.c:(.text+0x1ec): undefined reference to `__aeabi_uldivmod' Add a cast to an u32 to avoid this. If the resource exceeds 4GB, there are bigger problems. Fixes: 549b67da660d ("remoteproc: qcom: Introduce helper to store pil info in IMEM") Signed-off-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions