mirror of https://github.com/torvalds/linux.git
zstd decompression uses __builtin_clz() which fails back to __clzdi2()
when the kernel is built for older hardware like z900. This leads to
build failures like the following:
s390x-11.1.0-ld: /devel/src/kernel/arch/s390/boot/compressed/../../../../lib/zstd/bitstream.h:148: undefined reference to `__clzdi2'
Fix that by optionally including lib/clz_ctz.c into the decompressor.
Reported-by: kernel test robot <lkp@intel.com>
Fixes:
|
||
|---|---|---|
| .. | ||
| compressed | ||
| .gitignore | ||
| Makefile | ||
| als.c | ||
| boot.h | ||
| cmdline.c | ||
| ctype.c | ||
| ebcdic.c | ||
| head.S | ||
| head_kdump.S | ||
| install.sh | ||
| ipl_parm.c | ||
| ipl_report.c | ||
| ipl_vmparm.c | ||
| kaslr.c | ||
| machine_kexec_reloc.c | ||
| mem.S | ||
| mem_detect.c | ||
| pgm_check_info.c | ||
| sclp_early_core.c | ||
| startup.c | ||
| string.c | ||
| text_dma.S | ||
| uv.c | ||
| version.c | ||