lib/raid6: align AVX512 constants to 512 bits, not bytes
authorDenys Vlasenko <dvlasenk@redhat.com>
Sat, 12 Aug 2017 17:43:46 +0000 (19:43 +0200)
committerShaohua Li <shli@fb.com>
Fri, 25 Aug 2017 17:21:47 +0000 (10:21 -0700)
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: mingo@redhat.com
Cc: Jim Kukunas <james.t.kukunas@linux.intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Megha Dey <megha.dey@linux.intel.com>
Cc: Gayatri Kammela <gayatri.kammela@intel.com>
Cc: x86@kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Shaohua Li <shli@fb.com>
lib/raid6/avx512.c

index f524a79..46df797 100644 (file)
@@ -29,7 +29,7 @@
 
 static const struct raid6_avx512_constants {
        u64 x1d[8];
-} raid6_avx512_constants __aligned(512) = {
+} raid6_avx512_constants __aligned(512/8) = {
        { 0x1d1d1d1d1d1d1d1dULL, 0x1d1d1d1d1d1d1d1dULL,
          0x1d1d1d1d1d1d1d1dULL, 0x1d1d1d1d1d1d1d1dULL,
          0x1d1d1d1d1d1d1d1dULL, 0x1d1d1d1d1d1d1d1dULL,