From: Herbert Xu Date: Wed, 15 Jul 2009 10:37:48 +0000 (+0800) Subject: crypto: padlock - Fix compile error on i386 X-Git-Tag: v2.6.32-rc1~731^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=faae890883624e14a328863eafabf54a36698774;p=pandora-kernel.git crypto: padlock - Fix compile error on i386 The previous change to allow hashing from states other than the initial broke compilation on i386 because the inline assembly tried to squeeze a u64 into a 32-bit register. As we've already checked for 32-bit overflows we can simply truncate it to u32, or unsigned long so that we don't truncate at all on x86-64. Signed-off-by: Herbert Xu --- Reading git-diff-tree failed