From: Andre Detsch Date: Thu, 24 Jul 2008 00:57:26 +0000 (+1000) Subject: powerpc/spufs: fix aff_mutex and cbe_spu_info[n].list_mutex deadlock X-Git-Tag: v2.6.27-rc1~222^2~25^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0855b543222e79cbbd9d66dd56cb54740e7d524f;p=pandora-kernel.git powerpc/spufs: fix aff_mutex and cbe_spu_info[n].list_mutex deadlock Currenlt,, it is possible to lock aff_mutex and cbe_spu_info[n].list_mutex in different orders, allowing a deadlock to occur. With this change, aff_mutex is not taken within a list_mutex critical section anymore. Signed-off-by: Andre Detsch Signed-off-by: Jeremy Kerr --- Reading git-diff-tree failed