]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] spufs: add support for read/write on cntl
authorArnd Bergmann <arnd@arndb.de>
Wed, 4 Oct 2006 15:26:19 +0000 (17:26 +0200)
committerPaul Mackerras <paulus@samba.org>
Wed, 4 Oct 2006 23:21:01 +0000 (09:21 +1000)
commitb8d11ca615268e6bec659c22b407067e584fc892
treedac3c6bfd2789eae23286b5485d7010de10eefa6
parent04aaea8c6e94e1358a650b59271554e74cf622a9
[POWERPC] spufs: add support for read/write on cntl

Writing to cntl can be used to stop execution on the
spu and to restart it, reading from cntl gives the
contents of the current status register.

The access is always in ascii, as for most other files.

This was always meant to be there, but we had a little
problem with writing to runctl so it was left out so
far.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/file.c