diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2016-09-16 10:58:36 -0500 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2016-09-16 14:10:49 -0500 |
commit | 1881b0d34302b8c29d4b086715eeda9e576ee60a (patch) | |
tree | 9ef2c0457ca2578819cc0ff90d90ea4cc39e2e5b | |
parent | 79fadd184fd5e61c89690ffd30b98831454fbe08 (diff) | |
download | efl-1881b0d34302b8c29d4b086715eeda9e576ee60a.tar.gz |
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.
-rw-r--r-- | src/lib/eina/eina_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/eina/eina_main.c b/src/lib/eina/eina_main.c index 7238002eb3..2827992e26 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; |