]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sha1 - use Kbuild supplied flags for AVX test
authorMathias Krause <minipli@googlemail.com>
Thu, 24 May 2012 09:13:42 +0000 (11:13 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 12 Jun 2012 08:37:16 +0000 (16:37 +0800)
commit958d6c7f5be4a92b38ab1b48f0b503ae92bbf711
tree122291d27b0ea9aeed2e1e454a62f83a8aed3aa5
parentfce032bf89bf7f77ee02ef70e7ca2ec878c26e07
crypto: sha1 - use Kbuild supplied flags for AVX test

Commit 7f2d5230 ("raid5: add AVX optimized RAID5 checksumming")
introduced x86/ arch wide defines for AFLAGS and CFLAGS indicating AVX
support in binutils based on the same test we have in x86/crypto/ right
now. To minimize duplication drop our implementation in favour to the
one in x86/.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/Makefile
arch/x86/crypto/sha1_ssse3_asm.S
arch/x86/crypto/sha1_ssse3_glue.c