]> git.dujemihanovic.xyz Git - u-boot.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)
commit92080c6ef6c753ca69c53f191a6baef53f98bd6b
tree7b82d527951078e359203eea7b6b1d0e8ed05e87
parent004d30c786056d443d40428c4b1c11e2f8f0bc32
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