[POWERPC] spufs: Add SPU register lock
authorIshizaki Kou <kou.ishizaki@toshiba.co.jp>
Fri, 12 Jan 2007 00:52:41 +0000 (09:52 +0900)
committerPaul Mackerras <paulus@samba.org>
Wed, 24 Jan 2007 10:13:59 +0000 (21:13 +1100)
commit3650cfe2e51432030e469afd75a429c199c4e42f
tree7d7d94ff4afa30ef71b45eb7808f3c61e8993f9b
parentc53653130f2868e44c6e8346d110d27d39e7d07b
[POWERPC] spufs: Add SPU register lock

spu->register_lock should be held before accessing registers.

Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spu_base.c