]> git.baikalelectronics.ru Git - kernel.git/commit
x86: remove always-defined CONFIG_AS_AVX
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 26 Mar 2020 08:00:55 +0000 (17:00 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 8 Apr 2020 15:01:59 +0000 (00:01 +0900)
commitf87ce62bb6a5f3311b334d000a1782b2c67b7109
treeb6321c02de1b4950ebb8dc4015b9cc0ca72e4b29
parentd9eeb174eab4afae7b122f7d2f46241c9a26b8fd
x86: remove always-defined CONFIG_AS_AVX

CONFIG_AS_AVX was introduced by commit 7f2d52305688 ("raid5: add AVX
optimized RAID5 checksumming").

We raise the minimal supported binutils version from time to time.
The last bump was commit ce1bab184fa9 ("kbuild: Raise the minimum
required binutils version to 2.21").

I confirmed the code in $(call as-instr,...) can be assembled by the
binutils 2.21 assembler and also by LLVM integrated assembler.

Remove CONFIG_AS_AVX, which is always defined.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
13 files changed:
arch/x86/Makefile
arch/x86/crypto/Makefile
arch/x86/crypto/aesni-intel_avx-x86_64.S
arch/x86/crypto/aesni-intel_glue.c
arch/x86/crypto/poly1305-x86_64-cryptogams.pl
arch/x86/crypto/poly1305_glue.c
arch/x86/crypto/sha1_ssse3_asm.S
arch/x86/crypto/sha1_ssse3_glue.c
arch/x86/crypto/sha256-avx-asm.S
arch/x86/crypto/sha256_ssse3_glue.c
arch/x86/crypto/sha512-avx-asm.S
arch/x86/crypto/sha512_ssse3_glue.c
arch/x86/include/asm/xor_avx.h