From: Andy Shevchenko Date: Mon, 30 Dec 2013 13:52:24 +0000 (+0200) Subject: crypto: aesni - fix build on x86 (32bit) X-Git-Tag: v3.14-rc1~117^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8610d7bf608923157aee95cea30e162ed3417658;p=pandora-kernel.git 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 Signed-off-by: Herbert Xu --- Reading git-diff-tree failed