]> git.baikalelectronics.ru Git - uboot.git/commit
fs/squashfs: use lldiv function for math
authorSean Nyekjaer <sean.nyekjaer.ext@siemensgamesa.com>
Thu, 12 May 2022 18:37:14 +0000 (20:37 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 23 May 2022 13:33:10 +0000 (09:33 -0400)
commit505649ece272cc4cae0932cc31fc5db94df30236
tree7b82d527951078e359203eea7b6b1d0e8ed05e87
parent9f3e17052cc224f08766525920adb480e4d9d8a2
fs/squashfs: use lldiv function for math

When compling for x86:
ld.bfd: fs/squashfs/sqfs.o: in function `sqfs_read':
u-boot/fs/squashfs/sqfs.c:1443: undefined reference to `__udivmoddi4'
ld.bfd: u-boot/fs/squashfs/sqfs.c:1521: undefined reference to `__udivmoddi4'

Signed-off-by: Sean Nyekjaer <sean.nyekjaer.ext@siemensgamesa.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Pali Rohár <pali@kernel.org>
fs/squashfs/sqfs.c