From: Arnd Bergmann Date: Mon, 20 Nov 2006 17:45:08 +0000 (+0100) Subject: [POWERPC] spufs: Use SPU master control to prevent wild SPU execution X-Git-Tag: v2.6.20-rc1~34^2~40^2~8^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee2d7340cbf3b123e1c3b7454f3e2b7e65d33bb2;p=pandora-kernel.git [POWERPC] spufs: Use SPU master control to prevent wild SPU execution When the user changes the runcontrol register, an SPU might be running without a process being attached to it and waiting for events. In order to prevent this, make sure we always disable the priv1 master control when we're not inside of spu_run. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed