]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/crypto/sha256_ssse3_glue.c
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[karo-tx-linux.git] / arch / x86 / crypto / sha256_ssse3_glue.c
index 863e2f6aad135e1bf436d0374abce8f1d2eb3a5e..5f4d6086dc5913be7d680882ab94d2286ad3e230 100644 (file)
@@ -200,7 +200,7 @@ static struct shash_alg sha256_avx_algs[] = { {
 
 static bool avx_usable(void)
 {
-       if (!cpu_has_xfeatures(XSTATE_SSE | XSTATE_YMM, NULL)) {
+       if (!cpu_has_xfeatures(XFEATURE_MASK_SSE | XFEATURE_MASK_YMM, NULL)) {
                if (cpu_has_avx)
                        pr_info("AVX detected but unusable.\n");
                return false;