Fixes:
582bed1e1d1d ("mem: support mapping hugepages at runtime")
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
}
static void
-resotre_numa(int *oldpolicy, struct bitmask *oldmask)
+restore_numa(int *oldpolicy, struct bitmask *oldmask)
{
RTE_LOG(DEBUG, EAL,
"Restoring previous memory policy: %d\n", *oldpolicy);
#ifdef RTE_EAL_NUMA_AWARE_HUGEPAGES
if (have_numa)
- resotre_numa(&oldpolicy, oldmask);
+ restore_numa(&oldpolicy, oldmask);
#endif
return ret;
}