]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] spufs: Add runcntrl read accessors
authorJeremy Kerr <jk@ozlabs.org>
Mon, 20 Nov 2006 17:45:09 +0000 (18:45 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 09:40:04 +0000 (20:40 +1100)
commit3960c260204bc33404a6e54e9dcd44f1f83bc701
treedaa31590ad345198dc0e8ef4db49907b821b13a0
parentee2d7340cbf3b123e1c3b7454f3e2b7e65d33bb2
[POWERPC] spufs: Add runcntrl read accessors

This change adds a read accessor for the SPE problem-state run control
register.

This is required for for applying (userspace) changes made to the run
control register while the SPE is stopped - simply asserting the master
run control bit is not sufficient. My next patch for isolated-mode
setup requires this.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/backing_ops.c
arch/powerpc/platforms/cell/spufs/hw_ops.c
arch/powerpc/platforms/cell/spufs/spufs.h