Fix little checkin problem in last patch.

This commit is contained in:
Ulrich Drepper 2009-06-30 04:41:38 -07:00
parent 0181291385
commit b38a2e2e64

View File

@ -62,12 +62,12 @@ __init_cpu_features (void)
unsigned int eax = __cpu_features.cpuid[COMMON_CPUID_INDEX_1].eax;
unsigned int extended_family = (eax >> 20) & 0xff;
unsigned int extended_model = (eax >> 12) & 0xf0;
if (family == 0x0f)
if (__cpu_features.family == 0x0f)
{
__cpu_features.family += extended_family;
__cpu_features.model += extended_model;
}
else if (family == 0x06)
else if (__cpu_features.family == 0x06)
__cpu_features.model += extended_model;
}
/* This spells out "AuthenticAMD". */