aboutsummaryrefslogtreecommitdiff
path: root/lib/raid6/avx2.c
diff options
context:
space:
mode:
authorGravatar Jason A. Donenfeld <Jason@zx2c4.com> 2020-03-26 14:26:00 -0600
committerGravatar Masahiro Yamada <masahiroy@kernel.org> 2020-04-09 00:12:48 +0900
commite6abef610c7363cbd25205674b962031ef3bc790 (patch)
tree166214041cea10498aec1ae738bbc22db1c9f9d9 /lib/raid6/avx2.c
parentcrypto: x86 - clean up poly1305-x86_64-cryptogams.S by 'make clean' (diff)
downloadlinux-e6abef610c7363cbd25205674b962031ef3bc790.tar.gz
linux-e6abef610c7363cbd25205674b962031ef3bc790.tar.bz2
linux-e6abef610c7363cbd25205674b962031ef3bc790.zip
x86: update AS_* macros to binutils >=2.23, supporting ADX and AVX2
Now that the kernel specifies binutils 2.23 as the minimum version, we can remove ifdefs for AVX2 and ADX throughout. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Acked-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'lib/raid6/avx2.c')
-rw-r--r--lib/raid6/avx2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/raid6/avx2.c b/lib/raid6/avx2.c
index 87184b6da28a..f299476e1d76 100644
--- a/lib/raid6/avx2.c
+++ b/lib/raid6/avx2.c
@@ -13,8 +13,6 @@
*
*/
-#ifdef CONFIG_AS_AVX2
-
#include <linux/raid/pq.h>
#include "x86.h"
@@ -470,5 +468,3 @@ const struct raid6_calls raid6_avx2x4 = {
1 /* Has cache hints */
};
#endif
-
-#endif /* CONFIG_AS_AVX2 */