summaryrefslogtreecommitdiff
path: root/lib/zstd/zstd_common_module.c
AgeCommit message (Collapse)AuthorFilesLines
2022-10-24zstd: Move zstd-common module exports to zstd_common_module.cNick Terrell1-0/+32
The zstd codebase is imported from the upstream zstd repo, and is over-written on every update. Upstream keeps the kernel specific code separate from the main library. So the module definition is moved into the zstd_common_module.c file. This matches the pattern followed by the zstd-compress and zstd-decompress files. I've done build and boot testing on x86-64, i386, and aarch64. I've verified that zstd built both as modules and built-in build and boot. Signed-off-by: Nick Terrell <terrelln@fb.com>