Check if cpuid is available in init_cpu_features
commita5cf909b8f25f8240eabc5f1ff96b4be0472d8e1
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 13 Aug 2015 11:52:50 +0000 (13 04:52 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 13 Aug 2015 11:53:03 +0000 (13 04:53 -0700)
treee354b344307bdd5689e4e8551294a7da49d62b20
parente54388bd8be2828b8b7a207e9c5a10049ad3bb79
Check if cpuid is available in init_cpu_features

Since not all i486 processors support cpuid, we call __get_cpuid_max to
check if cpuid is available before using it if not compiling for i586,
i686 nor x86-64.

* sysdeps/x86/cpu-features.c (init_cpu_features): Call
__get_cpuid_max if not compiling for i586, i686 nor x86-64.
ChangeLog
sysdeps/x86/cpu-features.c