aboutsummaryrefslogtreecommitdiffstats
path: root/lib/raid6/avx512.c
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2017-08-12 19:43:46 +0200
committerShaohua Li <shli@fb.com>2017-08-25 10:21:47 -0700
commitb5e0fff19bef3a36631bce742e363d3a99590c3a (patch)
treeb0cfc9df76a1bd180e912b2bff98bca80a6c6aab /lib/raid6/avx512.c
parentraid5: remove raid5_build_block (diff)
downloadlinux-dev-b5e0fff19bef3a36631bce742e363d3a99590c3a.tar.xz
linux-dev-b5e0fff19bef3a36631bce742e363d3a99590c3a.zip
lib/raid6: align AVX512 constants to 512 bits, not bytes
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>
Diffstat (limited to '')
-rw-r--r--lib/raid6/avx512.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/raid6/avx512.c b/lib/raid6/avx512.c
index f524a7972006..46df7977b971 100644
--- a/lib/raid6/avx512.c
+++ b/lib/raid6/avx512.c
@@ -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,