Commit ccb79dfc authored by Fedor Uporov's avatar Fedor Uporov Committed by Jim Harris
Browse files

env: fix mem_disable_huge_pages() function calling condition



Change-Id: Id2e0bc66059935c7448892d9e43661135bb4ae96
Signed-off-by: default avatarFedor Uporov <fuporov.vstack@gmail.com>
Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26159


Community-CI: Mellanox Build Bot
Reviewed-by: default avatarJim Harris <jim.harris@nvidia.com>
Reviewed-by: default avatarKonrad Sztyber <ksztyber@nvidia.com>
Tested-by: default avatarSPDK Automated Test System <spdkbot@gmail.com>
parent dbf2510a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -366,7 +366,7 @@ build_eal_cmdline(const struct spdk_env_opts *opts)
	}

	/* set no huge pages */
	if (opts->no_huge) {
	if (no_huge) {
		mem_disable_huge_pages();
	}