summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2021-11-09 19:09:44 -0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-11-10 19:38:55 +0100
commite2f4b3be1d3c73176db734565b160250cc1300dd (patch)
treef5b032d5d8c1517046a0a217e60f56373e76230c /scripts
parentcca2aac8acf470b01066f559acd7146fc4c32ae8 (diff)
downloadlinux-stable-e2f4b3be1d3c73176db734565b160250cc1300dd.tar.gz
linux-stable-e2f4b3be1d3c73176db734565b160250cc1300dd.tar.bz2
linux-stable-e2f4b3be1d3c73176db734565b160250cc1300dd.zip
MIPS: boot/compressed/: add __bswapdi2() to target for ZSTD decompression
For MIPS pre-boot, when CONFIG_KERNEL_ZSTD=y, the decompressor function uses __bswapdi2(), so this object file should be added to the target object file. Fixes these build errors: mips-linux-ld: arch/mips/boot/compressed/decompress.o: in function `xxh64': decompress.c:(.text+0x8be0): undefined reference to `__bswapdi2' mips-linux-ld: decompress.c:(.text+0x8c78): undefined reference to `__bswapdi2' mips-linux-ld: decompress.c:(.text+0x8d04): undefined reference to `__bswapdi2' mips-linux-ld: arch/mips/boot/compressed/decompress.o:decompress.c:(.text+0xa010): more undefined references to `__bswapdi2' follow Fixes: 0652035a5794 ("asm-generic: unaligned: remove byteshift helpers") Fixes: cddc40f5617e ("mips: always link byteswap helpers into decompressor") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reported-by: kernel test robot <lkp@intel.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Cc: linux-mips@vger.kernel.org Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions