Merge branch 'i2c/for-mergewindow' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / lib / raid6 / avx512.c
index bb684d1..9c3e822 100644 (file)
@@ -162,7 +162,7 @@ const struct raid6_calls raid6_avx512x1 = {
        raid6_avx5121_xor_syndrome,
        raid6_have_avx512,
        "avx512x1",
-       1                       /* Has cache hints */
+       .priority = 2           /* Prefer AVX512 over priority 1 (SSE2 and others) */
 };
 
 /*
@@ -319,7 +319,7 @@ const struct raid6_calls raid6_avx512x2 = {
        raid6_avx5122_xor_syndrome,
        raid6_have_avx512,
        "avx512x2",
-       1                       /* Has cache hints */
+       .priority = 2           /* Prefer AVX512 over priority 1 (SSE2 and others) */
 };
 
 #ifdef CONFIG_X86_64
@@ -557,7 +557,7 @@ const struct raid6_calls raid6_avx512x4 = {
        raid6_avx5124_xor_syndrome,
        raid6_have_avx512,
        "avx512x4",
-       1                       /* Has cache hints */
+       .priority = 2           /* Prefer AVX512 over priority 1 (SSE2 and others) */
 };
 #endif