numam-dpdk/lib/librte_eal
Sergio Gonzalez Monroy fc060aa614 mem: fix initialization with --no-huge option
After code rework from bellow commit, logic expects hugepage_sz field to
always be set (ie. not zero value).
When using --no-huge, this field was left unset defaulting to zero.

Set hugepage_sz to RTE_PGSIZE_4K when using --no-huge.

Fixes: b3dfffd962 ("mem: allow multiple page sizes to be requested")

Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
2015-07-15 14:25:37 +02:00
..
bsdapp mem: fix initialization with --no-huge option 2015-07-15 14:25:37 +02:00
common eal/tile: add const in prefetch functions 2015-07-15 14:18:09 +02:00
linuxapp mem: fix initialization with --no-huge option 2015-07-15 14:25:37 +02:00
Makefile eal: no more bare metal environment 2014-11-27 13:09:51 +01:00