From 1d35319d820b8a95c38ca41a288fd6f1410715fe Mon Sep 17 00:00:00 2001 From: shen-chenyang1 Date: Tue, 12 Aug 2025 10:29:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20is=5Flz77=5Fmode=20=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=B8=8D=E4=BD=BF=E7=94=A8=E9=9B=B6=E6=8B=B7=E8=B4=9D=E6=A8=A1?= =?UTF-8?q?=E5=BC=8Fbug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- KAELz4/test/kzip/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KAELz4/test/kzip/main.c b/KAELz4/test/kzip/main.c index 717bafc..6e1ea17 100644 --- a/KAELz4/test/kzip/main.c +++ b/KAELz4/test/kzip/main.c @@ -952,7 +952,7 @@ static int start_work(struct compress_ctx *ctx, const char* in_filename, const c } } - if (g_enable_huge_pages || ctx->is_lz77_mode != 1 || ctx->is_zlib) + if (g_enable_huge_pages || ctx->is_lz77_mode || ctx->is_zlib) ctx->usr_map = get_physical_address_wrapper; if (ctx->algorithm->init) -- Gitee