summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/smp-cmp.c
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2021-11-19 17:50:52 +0000
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-11-25 10:13:41 +0100
commitfbf3bce458214bb971d3d571515b3b129eac290b (patch)
tree7ab3d11fdd2a4be44e7a788a1e4b428ffb3578d0 /arch/mips/kernel/smp-cmp.c
parent136057256686de39cc3a07c2e39ef6bc43003ff6 (diff)
downloadlinux-fbf3bce458214bb971d3d571515b3b129eac290b.tar.bz2
MIPS: boot/compressed/: add __ashldi3 to target for ZSTD compression
Just like before with __bswapdi2(), for MIPS pre-boot when CONFIG_KERNEL_ZSTD=y the decompressor function will use __ashldi3(), so the object file should be added to the target object file. Fixes these build errors: mipsel-linux-ld: arch/mips/boot/compressed/decompress.o: in function `FSE_buildDTable_internal': decompress.c:(.text.FSE_buildDTable_internal+0x48): undefined reference to `__ashldi3' mipsel-linux-ld: arch/mips/boot/compressed/decompress.o: in function `FSE_decompress_wksp_body_default': decompress.c:(.text.FSE_decompress_wksp_body_default+0xa8): undefined reference to `__ashldi3' mipsel-linux-ld: arch/mips/boot/compressed/decompress.o: in function `ZSTD_getFrameHeader_advanced': decompress.c:(.text.ZSTD_getFrameHeader_advanced+0x134): undefined reference to `__ashldi3' Signed-off-by: Paul Cercueil <paul@crapouillou.net> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/kernel/smp-cmp.c')
0 files changed, 0 insertions, 0 deletions