From 1881b0d34302b8c29d4b086715eeda9e576ee60a Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Fri, 16 Sep 2016 10:58:36 -0500 Subject: [PATCH] eina: Actually call eina_cpu_init() and eina_cpu_shutdown() Without calling eina_cpu_init() the eina_cpu_features bits aren't properly set up. Let's call it and see if anything exciting happens. --- src/lib/eina/eina_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/eina/eina_main.c b/src/lib/eina/eina_main.c index 7238002..2827992 100644 --- a/src/lib/eina/eina_main.c +++ b/src/lib/eina/eina_main.c @@ -303,6 +303,7 @@ eina_init(void) } } + eina_cpu_init(); eina_cpu_count_internal(); eina_log_timing(_eina_log_dom, EINA_LOG_STATE_STOP, EINA_LOG_STATE_INIT); @@ -339,6 +340,7 @@ eina_shutdown(void) _mt_enabled = 0; } #endif + eina_cpu_shutdown(); } return _eina_main_count; -- 2.7.4