From: Steffen Klassert Date: Tue, 20 Jul 2010 06:52:20 +0000 (+0200) Subject: crypto: pcrypt - Dont calulate a callback cpu on empty callback cpumask X-Git-Tag: v2.6.36-rc1~568^2~8 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc74f4bc111e9554bcd6445ad0fe1d90e5d2eb34;p=pandora-kernel.git crypto: pcrypt - Dont calulate a callback cpu on empty callback cpumask If the callback cpumask is empty, we crash with a division by zero when we try to calculate a callback cpu. So we don't update the callback cpu in pcrypt_do_parallel if the callback cpumask is empty. Signed-off-by: Steffen Klassert Signed-off-by: Herbert Xu --- Reading git-diff-tree failed