diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86/cpu_common.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/arch/x86/cpu_common.c b/src/arch/x86/cpu_common.c index af4e7b001d..102ccf0468 100644 --- a/src/arch/x86/cpu_common.c +++ b/src/arch/x86/cpu_common.c @@ -97,8 +97,7 @@ enum cpu_type cpu_check_deterministic_cache_cpuid_supported(void) return CPUID_COMMAND_UNSUPPORTED; return CPUID_TYPE_INTEL; } else if (cpu_is_amd()) { - res = cpuid(0x80000000); - if (res.eax < 0x80000001) + if (cpu_cpuid_extended_level() < 0x80000001) return CPUID_COMMAND_UNSUPPORTED; res = cpuid(0x80000001); |