diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-03-26 23:26:00 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-04-08 18:12:48 +0300 |
commit | e6abef610c7363cbd25205674b962031ef3bc790 (patch) | |
tree | 166214041cea10498aec1ae738bbc22db1c9f9d9 /lib/raid6/avx2.c | |
parent | d7e40ea83eb9155bd1d6bbbb48ffb843a8f56120 (diff) | |
download | linux-e6abef610c7363cbd25205674b962031ef3bc790.tar.xz |
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.c | 4 |
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 */ |