[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen staging] x86/vendor: Renumber the X86_VENDOR_ constants
commit 32d7e25969199be971f08c0b8c1fcbffedca99d2 Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> AuthorDate: Tue Jul 10 13:40:36 2018 +0100 Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CommitDate: Thu Nov 22 18:34:30 2018 +0000 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> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> --- 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 c53d0b9baf..38a81c3c6c 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__ */ -- generated by git-patchbot for /home/xen/git/xen.git#staging _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |