[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] x86/vendor: Renumber the X86_VENDOR_ constants
Make X86_VENDOR_UNKNOWN have the value 0 so a piece of zeroed memory can't get confused with X86_VENDOR_INTEL. No functional change. Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- CC: Jan Beulich <JBeulich@xxxxxxxx> CC: Wei Liu <wei.liu2@xxxxxxxxxx> CC: Roger Pau Monné <roger.pau@xxxxxxxxxx> --- xen/include/asm-x86/x86-vendors.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xen/include/asm-x86/x86-vendors.h b/xen/include/asm-x86/x86-vendors.h index c53d0b9..38a81c3 100644 --- a/xen/include/asm-x86/x86-vendors.h +++ b/xen/include/asm-x86/x86-vendors.h @@ -4,11 +4,11 @@ /* * CPU vendor IDs */ -#define X86_VENDOR_INTEL 0 -#define X86_VENDOR_AMD 1 -#define X86_VENDOR_CENTAUR 2 -#define X86_VENDOR_SHANGHAI 3 -#define X86_VENDOR_NUM 4 -#define X86_VENDOR_UNKNOWN 0xff +#define X86_VENDOR_UNKNOWN 0 +#define X86_VENDOR_INTEL 1 +#define X86_VENDOR_AMD 2 +#define X86_VENDOR_CENTAUR 3 +#define X86_VENDOR_SHANGHAI 4 +#define X86_VENDOR_NUM 5 #endif /* __XEN_X86_VENDORS_H__ */ -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |