summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Chen <tim.c.chen@linux.intel.com>2014-01-09 17:57:42 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2014-01-15 04:36:34 +0100
commit79ba451d66ca8402c8d052ceb50e359ddc5e1161 (patch)
tree23953c81987d74a33f1ee95a2491fb1d889ba0cc
parentcrypto: mxs - Fix sparse non static symbol warning (diff)
downloadlinux-79ba451d66ca8402c8d052ceb50e359ddc5e1161.tar.xz
linux-79ba451d66ca8402c8d052ceb50e359ddc5e1161.zip
crypto: aesni - fix build on x86 (32bit)
We rename aesni-intel_avx.S to aesni-intel_avx-x86_64.S to indicate that it is only used by x86_64 architecture. Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--arch/x86/crypto/Makefile2
-rw-r--r--arch/x86/crypto/aesni-intel_avx-x86_64.S (renamed from arch/x86/crypto/aesni-intel_avx.S)0
2 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/crypto/Makefile b/arch/x86/crypto/Makefile
index 188b993e55c7..6ba54d640383 100644
--- a/arch/x86/crypto/Makefile
+++ b/arch/x86/crypto/Makefile
@@ -76,7 +76,7 @@ ifeq ($(avx2_supported),yes)
endif
aesni-intel-y := aesni-intel_asm.o aesni-intel_glue.o fpu.o
-aesni-intel-$(CONFIG_64BIT) += aesni-intel_avx.o
+aesni-intel-$(CONFIG_64BIT) += aesni-intel_avx-x86_64.o
ghash-clmulni-intel-y := ghash-clmulni-intel_asm.o ghash-clmulni-intel_glue.o
sha1-ssse3-y := sha1_ssse3_asm.o sha1_ssse3_glue.o
crc32c-intel-y := crc32c-intel_glue.o
diff --git a/arch/x86/crypto/aesni-intel_avx.S b/arch/x86/crypto/aesni-intel_avx-x86_64.S
index 522ab68d1c88..522ab68d1c88 100644
--- a/arch/x86/crypto/aesni-intel_avx.S
+++ b/arch/x86/crypto/aesni-intel_avx-x86_64.S