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)
commit65df57743924c3d13e1fa1bcf5bf70fe874fcdfd
tree122291d27b0ea9aeed2e1e454a62f83a8aed3aa5
parent4e3c8a1b1c63482403e9d5e3148dee1a711e4b91
crypto: sha1 - use Kbuild supplied flags for AVX test

Commit ea4d26ae ("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