1*ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# This is a modified version of zlib, which does all memory 41da177e4SLinus Torvalds# allocation ahead of time. 51da177e4SLinus Torvalds# 61da177e4SLinus Torvalds# This is only the decompression, see zlib_deflate for the 71da177e4SLinus Torvalds# the compression 81da177e4SLinus Torvalds# 91da177e4SLinus Torvalds# Decompression needs to be serialized for each memory 101da177e4SLinus Torvalds# allocation. 111da177e4SLinus Torvalds# 121da177e4SLinus Torvalds# (The upsides of the simplification is that you can't get in 131da177e4SLinus Torvalds# any nasty situations wrt memory management, and that the 141da177e4SLinus Torvalds# uncompression can be done without blocking on allocation). 151da177e4SLinus Torvalds# 161da177e4SLinus Torvalds 171da177e4SLinus Torvaldsobj-$(CONFIG_ZLIB_INFLATE) += zlib_inflate.o 181da177e4SLinus Torvalds 19d4faaecbSDavid S. Millerzlib_inflate-objs := inffast.o inflate.o infutil.o \ 204f3865fbSRichard Purdie inftrees.o inflate_syms.o 21