From: Jussi Kivilinna Date: Thu, 18 Oct 2012 20:24:57 +0000 (+0300) Subject: crypto: aesni - fix XTS mode on x86-32, add wrapper function for asmlinkage aesni_enc() X-Git-Tag: v3.7-rc2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32bec973a8435afc0b032da22174701f836549b2;p=pandora-kernel.git crypto: aesni - fix XTS mode on x86-32, add wrapper function for asmlinkage aesni_enc() Calling convention for internal functions and 'asmlinkage' functions is different on x86-32. Therefore do not directly cast aesni_enc as XTS tweak function, but use wrapper function in between. Fixes crash with "XTS + aesni_intel + x86-32" combination. Cc: stable@vger.kernel.org Reported-by: Krzysztof Kolasa Signed-off-by: Jussi Kivilinna Acked-by: David S. Miller Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed