[PATCH] spufs-fix-init.patch
Geoff Levand
geoffrey.levand at am.sony.com
Tue Jan 24 12:37:11 EST 2006
spufs-fix-init.patch:
This is a small fix to get the spufs init sequence right.
init_spu_base() in spu_base.c should be called (via module_init(init_spu_base))
before spufs_init() (via module_init(spufs_init)) in spufs/inode.c gets called.
Arnd, could you check that this works for your hardware and make any adjustments.
-Geoff
Signed-off-by: Masato Noguchi <Masato.Noguchi at jp.sony.com>
Signed-off-by: Geoff Levand <geoffrey.levand at am.sony.com>
diff -uprN linux-2.6.15+spufs/arch/powerpc/platforms/cell/Makefile linux-2.6.15+spufs.mod/arch/powerpc/platforms/cell/Makefile
--- linux-2.6.15+spufs/arch/powerpc/platforms/cell/Makefile 2006-01-18 20:46:38.000000000 +0900
+++ linux-2.6.15+spufs.mod/arch/powerpc/platforms/cell/Makefile 2006-01-20 17:16:32.000000000 +0900
@@ -2,7 +2,7 @@ obj-y += interrupt.o iommu.o setup.o s
obj-y += pervasive.o
obj-$(CONFIG_SMP) += smp.o
-obj-$(CONFIG_SPU_FS) += spufs/ spu-base.o
+obj-$(CONFIG_SPU_FS) += spu-base.o spufs/
spu-base-y += spu_base.o spu_priv1.o
builtin-spufs-$(CONFIG_SPU_FS) += spu_syscalls.o
obj-y += $(builtin-spufs-m)
More information about the Linuxppc64-dev
mailing list