Sync with Upstream master

pull/461/head
Jeffrey Walton 2017-08-11 17:27:19 -04:00
commit f02503d08f
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ void DetectX86Features()
g_cacheLineSize = GETBYTE(cpuid2[2], 0); g_cacheLineSize = GETBYTE(cpuid2[2], 0);
g_hasRDRAND = !!(cpuid1[2] /*ECX*/ & RDRAND_FLAG); g_hasRDRAND = !!(cpuid1[2] /*ECX*/ & RDRAND_FLAG);
if (cpuid1[0] /*EAX*/ >= 7) if (cpuid0[0] /*EAX*/ >= 7)
{ {
if (CpuId(7, cpuid2)) if (CpuId(7, cpuid2))
{ {