summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2025-12-24 00:52:53 +0300
committerMark Brown <broonie@kernel.org>2025-12-24 14:31:35 +0300
commit836ecc740ca829040d86a5371f1fcb276110df84 (patch)
tree178a25e371bc5f3d1147b67a5b5b270a7da7be04 /include/linux/stackprotector.h
parent45e9066f3a487e9e26b842644364d045af054775 (diff)
downloadlinux-836ecc740ca829040d86a5371f1fcb276110df84.tar.xz
ASoC: rt1320: fix 32-bit link failure
A plain 64-bit division causes a link failure in some configurations: ERROR: modpost: "__aeabi_uldivmod" [sound/soc/codecs/snd-soc-rt1320-sdw.ko] undefined! Since this divides by a constant, using the div_u64() macro ends up turning this into an efficient multiply/shift operation where possible. In rt1320_calc_r0(), the open-coded shift seems a litle simpler. Fixes: da1682d5e8b5 ("ASoC: rt1320: support calibration and temperature/r0 loading") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://patch.msgid.link/20251223215259.677762-1-arnd@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions