Skip to content

Commit b5e0fff

Browse files
dvlasenkshligit
authored andcommitted
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]>
1 parent 27a4ff8 commit b5e0fff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/raid6/avx512.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
static const struct raid6_avx512_constants {
3131
u64 x1d[8];
32-
} raid6_avx512_constants __aligned(512) = {
32+
} raid6_avx512_constants __aligned(512/8) = {
3333
{ 0x1d1d1d1d1d1d1d1dULL, 0x1d1d1d1d1d1d1d1dULL,
3434
0x1d1d1d1d1d1d1d1dULL, 0x1d1d1d1d1d1d1d1dULL,
3535
0x1d1d1d1d1d1d1d1dULL, 0x1d1d1d1d1d1d1d1dULL,

0 commit comments

Comments
 (0)