diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2017-08-12 19:43:46 +0200 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-08-25 10:21:47 -0700 |
commit | b5e0fff19bef3a36631bce742e363d3a99590c3a (patch) | |
tree | b0cfc9df76a1bd180e912b2bff98bca80a6c6aab /lib/raid6 | |
parent | 27a4ff8f49a9b912be76f36f7e198824cf0aecd9 (diff) | |
download | lwn-b5e0fff19bef3a36631bce742e363d3a99590c3a.tar.gz lwn-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 'lib/raid6')
-rw-r--r-- | lib/raid6/avx512.c | 2 |
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, |