summaryrefslogtreecommitdiffstats
path: root/vpp/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'vpp/vnet')
-rw-r--r--vpp/vnet/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vpp/vnet/main.c b/vpp/vnet/main.c
index 04ee6b76..9d89ce70 100644
--- a/vpp/vnet/main.c
+++ b/vpp/vnet/main.c
@@ -64,6 +64,7 @@ int main (int argc, char * argv[])
void vlib_set_get_handoff_structure_cb (void *cb);
#if __x86_64__
+ __builtin_cpu_init ();
const char * msg = "ERROR: This binary requires CPU with %s extensions.\n";
#define _(a,b) \
if (!__builtin_cpu_supports(a)) \