Re: [RFC PATCH 1/3] x86/cpu: Unify CPU family, model, stepping calculation

From: Paolo Bonzini
Date: Wed Nov 18 2015 - 06:10:20 EST




On 14/11/2015 11:37, Borislav Petkov wrote:
> vendor = x86_vendor();
> - family = x86_family();
> + family = x86_family_cpuid();

What about renaming x86_vendor() so that this looks like

- vendor = x86_vendor();
- family = x86_family();
+ vendor = x86_cpuid_vendor();
+ family = x86_cpuid_family();

Otherwise looks good.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/