__cpuidex() is not really required for now, just use __cpuid()

This commit is contained in:
Frank Denis 2014-09-13 12:22:53 -07:00
parent a4264a221f
commit 59a207e4ff

View File

@ -44,7 +44,7 @@ static void
_cpuid(unsigned int cpu_info[4U], const unsigned int cpu_info_type)
{
#ifdef _MSC_VER
__cpuidex((int *) cpu_info, cpu_info_type, 0);
__cpuid((int *) cpu_info, cpu_info_type);
#elif defined(HAVE_CPUID)
cpu_info[0] = cpu_info[1] = cpu_info[2] = cpu_info[3] = 0;
# ifdef __i386__