]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/crypto/sha512_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 / sha512_ssse3_glue.c
index 0dfe9a2ba64bc275432a01e717141694749a7439..34e5083d6f36540e967dc755384012ca35afd714 100644 (file)
@@ -150,7 +150,7 @@ asmlinkage void sha512_transform_avx(u64 *digest, const char *data,
                                     u64 rounds);
 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;