diff --git a/KAELz4/test/kzip/main.c b/KAELz4/test/kzip/main.c index 717bafc345637791006ab35ac87991cbc1b36354..6e1ea17b8735d72e00435d75b76a86077532fb8b 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)