projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae9926b
)
x86: add helper macro for X86_FEATURE_CX16 feature detection
author
Feng Wu
<feng.wu@intel.com>
Tue, 7 Jul 2015 08:39:25 +0000
(10:39 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Tue, 7 Jul 2015 08:39:25 +0000
(10:39 +0200)
Add macro cpu_has_cx16 to detect X86_FEATURE_CX16 feature.
Signed-off-by: Feng Wu <feng.wu@intel.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/asm-x86/cpufeature.h
patch
|
blob
|
history
diff --git
a/xen/include/asm-x86/cpufeature.h
b/xen/include/asm-x86/cpufeature.h
index 7963a3a306d24e7200dcdd1f66e89d18f021588d..63c1fe834cf50e965970d4001ccc45260bb3c03e 100644
(file)
--- a/
xen/include/asm-x86/cpufeature.h
+++ b/
xen/include/asm-x86/cpufeature.h
@@
-216,6
+216,8
@@
#define cpu_has_cpuid_faulting boot_cpu_has(X86_FEATURE_CPUID_FAULTING)
+#define cpu_has_cx16 boot_cpu_has(X86_FEATURE_CX16)
+
enum _cache_type {
CACHE_TYPE_NULL = 0,
CACHE_TYPE_DATA = 1,