]> err.no Git - linux-2.6/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)
commite1dbff2bafa83f839ef15f51904b0cce9fc89387
treedac3c6bfd2789eae23286b5485d7010de10eefa6
parent772920e594df25f2011ca49abd9c8b85c4820cdc
[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