summaryrefslogtreecommitdiff
path: root/Zend/zend_cpuinfo.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2018-02-10 16:58:27 +0800
committerXinchen Hui <laruence@gmail.com>2018-02-10 16:58:27 +0800
commit87b71804804a0a76115267a34acd27b7d01d6e85 (patch)
treed6b89957171c058a68536326eeee64d64eb79c22 /Zend/zend_cpuinfo.c
parentab44dddfe4f0270f7ae84f5e61578e75c2005bc3 (diff)
downloadphp-git-87b71804804a0a76115267a34acd27b7d01d6e85.tar.gz
Fixed cpu feature check in reslover functions
Diffstat (limited to 'Zend/zend_cpuinfo.c')
-rw-r--r--Zend/zend_cpuinfo.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Zend/zend_cpuinfo.c b/Zend/zend_cpuinfo.c
index 2b087afaef..988ceb2521 100644
--- a/Zend/zend_cpuinfo.c
+++ b/Zend/zend_cpuinfo.c
@@ -16,7 +16,6 @@
+----------------------------------------------------------------------+
*/
-#include "zend.h"
#include "zend_cpuinfo.h"
typedef struct _zend_cpu_info {
@@ -68,10 +67,6 @@ void zend_cpu_startup(void)
}
ZEND_API int zend_cpu_supports(zend_cpu_feature feature) {
-#ifdef HAVE_FUNC_ATTRIBUTE_IFUNC
- /* The resolver is invoked before zend_startup(). */
- zend_cpu_startup();
-#endif
if (feature & ZEND_CPU_EDX_MASK) {
return (cpuinfo.edx & (feature & ~ZEND_CPU_EDX_MASK));
} else {