From: Feng Wu Date: Tue, 7 Jul 2015 08:39:25 +0000 (+0200) Subject: x86: add helper macro for X86_FEATURE_CX16 feature detection X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~2938 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a5e8aff286d8e70850a17bc9eaa3f58d0112c141;p=xen.git x86: add helper macro for X86_FEATURE_CX16 feature detection Add macro cpu_has_cx16 to detect X86_FEATURE_CX16 feature. Signed-off-by: Feng Wu Reviewed-by: Andrew Cooper --- diff --git a/xen/include/asm-x86/cpufeature.h b/xen/include/asm-x86/cpufeature.h index 7963a3a306..63c1fe834c 100644 --- 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,