summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/cell/spufs/Makefile
diff options
context:
space:
mode:
authorMark Nutter2005-11-15 21:53:49 +0100
committerPaul Mackerras2006-01-09 04:49:16 +0100
commit5473af049d8b3556874174e61ce1986c9b5e8fa6 (patch)
tree53da74c13eb9125b85e85f9fc44981d3d1b41b49 /arch/powerpc/platforms/cell/spufs/Makefile
parent[PATCH] spufs: The SPU file system, base (diff)
downloadkernel-qcow2-linux-5473af049d8b3556874174e61ce1986c9b5e8fa6.tar.gz
kernel-qcow2-linux-5473af049d8b3556874174e61ce1986c9b5e8fa6.tar.xz
kernel-qcow2-linux-5473af049d8b3556874174e61ce1986c9b5e8fa6.zip
[PATCH] spufs: switchable spu contexts
Add some infrastructure for saving and restoring the context of an SPE. This patch creates a new structure that can hold the whole state of a physical SPE in memory. It also contains code that avoids races during the context switch and the binary code that is loaded to the SPU in order to access its registers. The actual PPE- and SPE-side context switch code are two separate patches. Signed-off-by: Arnd Bergmann <arndb@de.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/Makefile')
-rw-r--r--arch/powerpc/platforms/cell/spufs/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/Makefile b/arch/powerpc/platforms/cell/spufs/Makefile
index 6f496e37bcb7..e70e3cc1158f 100644
--- a/arch/powerpc/platforms/cell/spufs/Makefile
+++ b/arch/powerpc/platforms/cell/spufs/Makefile
@@ -1,3 +1,5 @@
obj-$(CONFIG_SPU_FS) += spufs.o
-spufs-y += inode.o file.o context.o syscalls.o
+spufs-y += inode.o file.o context.o switch.o syscalls.o
+
+$(obj)/switch.o: $(obj)/spu_save_dump.h $(obj)/spu_restore_dump.h