summaryrefslogtreecommitdiffstats
path: root/src/examples/vlib/main_stub.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-07-20 18:10:35 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2017-09-07 16:09:21 +0000
commit49d66f1f42cbc310e4fa0dc526b9fdb91d0ca220 (patch)
treed6ebe20d0d6791650cd28b6b800d1dee2950f439 /src/examples/vlib/main_stub.c
parentd630713d733718701f38176f98d563fd32679d06 (diff)
vlib physmem rework
This patch adds supprot support for multiple numa-aware physmem regions. Change-Id: I5c69a6f4da33c8ee21bdb8604d52fd2886f2327e Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/examples/vlib/main_stub.c')
-rw-r--r--src/examples/vlib/main_stub.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/examples/vlib/main_stub.c b/src/examples/vlib/main_stub.c
index 4d74bd77aaa..3b19c53f720 100644
--- a/src/examples/vlib/main_stub.c
+++ b/src/examples/vlib/main_stub.c
@@ -27,8 +27,7 @@ main_stub_init (vlib_main_t * vm)
{
clib_error_t *error;
- if ((error =
- unix_physmem_init (vm, /* fail_if_physical_memory_not_present */ 0)))
+ if ((error = unix_physmem_init (vm)))
return error;
if ((error = vlib_call_init_function (vm, unix_cli_init)))