linux/lib/zlib_dfltcc
Randy Dunlap 11fb479ff5 zlib: export S390 symbols for zlib modules
Fix build errors when ZLIB_INFLATE=m and ZLIB_DEFLATE=m and ZLIB_DFLTCC=y
by exporting the 2 needed symbols in dfltcc_inflate.c.

Fixes these build errors:

  ERROR: modpost: "dfltcc_inflate" [lib/zlib_inflate/zlib_inflate.ko] undefined!
  ERROR: modpost: "dfltcc_can_inflate" [lib/zlib_inflate/zlib_inflate.ko] undefined!

Fixes: 1261961000 ("lib/zlib: add s390 hardware support for kernel zlib_inflate")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Cc: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Link: https://lkml.kernel.org/r/20201123191712.4882-1-rdunlap@infradead.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-12-06 10:19:07 -08:00
..
dfltcc_deflate.c s390/boot: add dfltcc= kernel command line parameter 2020-01-31 10:30:40 -08:00
dfltcc_inflate.c zlib: export S390 symbols for zlib modules 2020-12-06 10:19:07 -08:00
dfltcc_syms.c lib/zlib: add s390 hardware support for kernel zlib_deflate 2020-01-31 10:30:40 -08:00
dfltcc_util.h lib/zlib: add zlib_deflate_dfltcc_enabled() function 2020-01-31 10:30:40 -08:00
dfltcc.c s390/boot: add dfltcc= kernel command line parameter 2020-01-31 10:30:40 -08:00
dfltcc.h lib/zlib: add zlib_deflate_dfltcc_enabled() function 2020-01-31 10:30:40 -08:00
Makefile lib/zlib: add s390 hardware support for kernel zlib_inflate 2020-01-31 10:30:40 -08:00