]> err.no Git - linux-2.6/blobdiff - arch/powerpc/platforms/cell/spufs/spufs.h
[PATCH] spufs: switchable spu contexts
[linux-2.6] / arch / powerpc / platforms / cell / spufs / spufs.h
index b37fe797ea1ce4b2c6dd0c3819e4c49f1dbc5446..67aff57faf605098f8820ddb92ae40c6339f012f 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/fs.h>
 
 #include <asm/spu.h>
+#include <asm/spu_csa.h>
 
 /* The magic number for our file system */
 enum {
@@ -36,6 +37,7 @@ enum {
 
 struct spu_context {
        struct spu *spu;                  /* pointer to a physical SPU */
+       struct spu_state csa;             /* SPU context save area. */
        struct rw_semaphore backing_sema; /* protects the above */
        spinlock_t mmio_lock;             /* protects mmio access */