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/recov_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/recov_avx2.c')
-rw-r--r-- | lib/raid6/recov_avx2.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/raid6/recov_avx2.c b/lib/raid6/recov_avx2.c index 7a3b5e7f66ee..4e8095403ee2 100644 --- a/lib/raid6/recov_avx2.c +++ b/lib/raid6/recov_avx2.c @@ -4,8 +4,6 @@ * Author: Jim Kukunas <james.t.kukunas@linux.intel.com> */ -#ifdef CONFIG_AS_AVX2 - #include <linux/raid/pq.h> #include "x86.h" @@ -313,7 +311,3 @@ const struct raid6_recov_calls raid6_recov_avx2 = { #endif .priority = 2, }; - -#else -#warning "your version of binutils lacks AVX2 support" -#endif |