aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <[email protected]>2017-08-12 19:43:46 +0200
committerShaohua Li <[email protected]>2017-08-25 10:21:47 -0700
commitb5e0fff19bef3a36631bce742e363d3a99590c3a (patch)
treeb0cfc9df76a1bd180e912b2bff98bca80a6c6aab
parent27a4ff8f49a9b912be76f36f7e198824cf0aecd9 (diff)
lib/raid6: align AVX512 constants to 512 bits, not bytes
Signed-off-by: Denys Vlasenko <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: [email protected] Cc: Jim Kukunas <[email protected]> Cc: Fenghua Yu <[email protected]> Cc: Megha Dey <[email protected]> Cc: Gayatri Kammela <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Shaohua Li <[email protected]>
-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,