From: Thomas Monjalon Date: Tue, 28 Jul 2015 08:29:51 +0000 (+0200) Subject: eal/bsd: fix build X-Git-Tag: spdx-start~8607 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=760211bf262823c2c92f910daf90d56d0d1503f5;p=dpdk.git eal/bsd: fix build The BSD function for contigmem init and attach must now use the same name as Linux (hugepage prefix) to avoid code duplication. The attach function was renamed but the init function was forgotten. Fixes: d12b6da14bfa ("eal: deduplicate memory initialization") Signed-off-by: Thomas Monjalon --- diff --git a/lib/librte_eal/bsdapp/eal/eal_memory.c b/lib/librte_eal/bsdapp/eal/eal_memory.c index 937e8db574..3614da8db8 100644 --- a/lib/librte_eal/bsdapp/eal/eal_memory.c +++ b/lib/librte_eal/bsdapp/eal/eal_memory.c @@ -60,7 +60,7 @@ rte_mem_virt2phy(const void *virtaddr) } int -rte_eal_contigmem_init(void) +rte_eal_hugepage_init(void) { struct rte_mem_config *mcfg; uint64_t total_mem = 0;