aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/cell/spufs/spufs.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2007-02-13 21:54:27 +0100
committerArnd Bergmann <arnd@klappe.arndb.de>2007-02-13 21:55:42 +0100
commit52f04fcf66a5d5d90790d6cfde52e391ecf2b882 (patch)
tree1fe7e3220964ddff413975fd76fde0e7fcb4fd95 /arch/powerpc/platforms/cell/spufs/spufs.h
parent[POWERPC] spu sched: update some comments (diff)
downloadlinux-dev-52f04fcf66a5d5d90790d6cfde52e391ecf2b882.tar.xz
linux-dev-52f04fcf66a5d5d90790d6cfde52e391ecf2b882.zip
[POWERPC] spu sched: forced preemption at execution
If we start a spu context with realtime priority we want it to run immediately and not wait until some other lower priority thread has finished. Try to find a suitable victim and use it's spu in this case. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/spufs.h')
-rw-r--r--arch/powerpc/platforms/cell/spufs/spufs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/spufs.h b/arch/powerpc/platforms/cell/spufs/spufs.h
index 421f59167c55..85b182d16464 100644
--- a/arch/powerpc/platforms/cell/spufs/spufs.h
+++ b/arch/powerpc/platforms/cell/spufs/spufs.h
@@ -83,6 +83,7 @@ struct spu_context {
/* scheduler fields */
struct list_head rq;
unsigned long sched_flags;
+ unsigned long rt_priority;
int prio;
};