eal/linux: restore specific hugepage ordering for ppc
authorDavid Christensen <drc@linux.vnet.ibm.com>
Wed, 25 Sep 2019 21:42:23 +0000 (14:42 -0700)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 24 Oct 2019 12:15:10 +0000 (14:15 +0200)
commited5d3d5cdb4d19262e9c5face0a11129f090a485
treed4dfaa0904237f46ae50a1e19132ab8f33c0b3c6
parent923ceaeac140e1579abafb56f4131db542add903
eal/linux: restore specific hugepage ordering for ppc

An ifdef present in eal_memory.c references "RTE_ARCH_PPC64" when
it should actually use "RTE_ARCH_PPC_64".  Simple testing revealed
that both the PPC_64 and non-PPC_64 versions of the code involved
work, but the PPC_64 version of the code is retained to be
consistent with other instances in the same file where mmapped
memory is accessed in reverse order on Power platforms.

Fixes: 66cc45e293ed ("mem: replace memseg with memseg lists")
Cc: stable@dpdk.org
Signed-off-by: David Christensen <drc@linux.vnet.ibm.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_eal/linux/eal/eal_memory.c