summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Ludvig <michal@logix.cz>2004-08-23 21:30:15 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-23 21:30:15 -0700
commitc41c607ce5e7de56897002dfa376f8451d797d19 (patch)
treebc4290a18c92ddc63c0eedf0ccb37b9112f2600e
parent53e31beb35891d1bb369f0836e2f723f81257c92 (diff)
[PATCH] New cpu_has_ flags
Add a couple more accessors for xstore features. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--include/asm-i386/cpufeature.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-i386/cpufeature.h b/include/asm-i386/cpufeature.h
index d6005e6e8006..bc91124a0e22 100644
--- a/include/asm-i386/cpufeature.h
+++ b/include/asm-i386/cpufeature.h
@@ -106,7 +106,9 @@
#define cpu_has_cyrix_arr boot_cpu_has(X86_FEATURE_CYRIX_ARR)
#define cpu_has_centaur_mcr boot_cpu_has(X86_FEATURE_CENTAUR_MCR)
#define cpu_has_xstore boot_cpu_has(X86_FEATURE_XSTORE)
+#define cpu_has_xstore_enabled boot_cpu_has(X86_FEATURE_XSTORE_EN)
#define cpu_has_xcrypt boot_cpu_has(X86_FEATURE_XCRYPT)
+#define cpu_has_xcrypt_enabled boot_cpu_has(X86_FEATURE_XCRYPT_EN)
#endif /* __ASM_I386_CPUFEATURE_H */