[POWERPC] spufs: Use SPU master control to prevent wild SPU execution
authorArnd Bergmann <arnd@arndb.de>
Mon, 20 Nov 2006 17:45:08 +0000 (18:45 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 09:40:02 +0000 (20:40 +1100)
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 <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found