[Cbe-oss-dev] [PATCH 08/13] spufs: move fault, lscsa_alloc and switch code to spufs module

Christoph Hellwig hch at lst.de
Fri Nov 23 21:28:33 EST 2007


On Mon, Nov 19, 2007 at 02:36:53PM +1100, Jeremy Kerr wrote:
> Currently, part of the spufs code (switch.o, lscsa_alloc.o and fault.o)
> is compiled directly into the kernel.
> 
> This change moves these components of spufs into the kernel.
> 
> The lscsa and switch objects are fairly straightforward to move in.
> 
> For the fault.o module, we split the fault-handling code into two
> parts: a/p/p/c/spu_fault.c and a/p/p/c/spufs/fault.c. The former is for
> the in-kernel spu_handle_mm_fault function, and we move the rest of the
> fault-handling code into spufs.

This doesn't compile with CONFIG_SPU_FS_64K_LS set.  You need to add an
include of spufs.h to lscsa_alloc.c.




More information about the cbe-oss-dev mailing list