projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f20ae50
)
x86/vendor: Renumber the X86_VENDOR_ constants
author
Andrew Cooper
<andrew.cooper3@citrix.com>
Tue, 10 Jul 2018 12:40:36 +0000
(13:40 +0100)
committer
Andrew Cooper
<andrew.cooper3@citrix.com>
Thu, 22 Nov 2018 18:34:30 +0000
(18:34 +0000)
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@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/asm-x86/x86-vendors.h
patch
|
blob
|
history
diff --git
a/xen/include/asm-x86/x86-vendors.h
b/xen/include/asm-x86/x86-vendors.h
index c53d0b9bafb21ae6722882a719c6d6487f1e8b5f..38a81c3c6c4bbc45e6702b874418bcbd61350703 100644
(file)
--- 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__ */