crypto: aesni - fix build on x86 (32bit)
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 30 Dec 2013 13:52:24 +0000 (15:52 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 31 Dec 2013 11:47:46 +0000 (19:47 +0800)
commit8610d7bf608923157aee95cea30e162ed3417658
treee782e0d67b7ade1361b8b0ccec5be2774114de27
parentd781728a1593354f37f9b806ba3482a413f20498
crypto: aesni - fix build on x86 (32bit)

It seems commit d764593a "crypto: aesni - AVX and AVX2 version of AESNI-GCM
encode and decode" breaks a build on x86_32 since it's designed only for
x86_64. This patch makes a compilation unit conditional to CONFIG_64BIT and
functions usage to CONFIG_X86_64.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/Makefile
arch/x86/crypto/aesni-intel_glue.c