derekf pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1881b0d34302b8c29d4b086715eeda9e576ee60a

commit 1881b0d34302b8c29d4b086715eeda9e576ee60a
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Fri Sep 16 10:58:36 2016 -0500

    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;

-- 


Reply via email to