[Cbe-oss-dev] [patch 6/6] spufs: platform ops

Geoff Levand geoffrey.levand at am.sony.com
Fri Apr 28 02:19:47 EST 2006


Stephen Rothwell wrote:
> Hi Geoff,
> 
> On Wed, 26 Apr 2006 14:52:52 -0700 Geoff Levand
> <geoffrey.levand at am.sony.com> wrote:
>>
>> Index: cell--alp--1/arch/powerpc/platforms/ps3/Makefile
>> ===================================================================
>> --- cell--alp--1.orig/arch/powerpc/platforms/ps3/Makefile
> 2006-04-26 13:00:01.000000000 -0700
>> +++ cell--alp--1/arch/powerpc/platforms/ps3/Makefile	2006-04-26
> 13:19:26.000000000 -0700
>> @@ -1 +1,5 @@
>> -obj-n += setup.o
>> +obj-y += setup.o
>> +
>> +ifdef CONFIG_SPU_FS
>> +obj-y += spu_priv1.o
>> +endif
> 
> We usually say:
> obj-$(CONFIG_SPU_FS) += spu_priv1.o
> 
> or can CONFIG_SPU_FS be 'm' as well as 'y'?


Yes, the spufs has a core part that's always built into
the kernel that has routines for interrupt and memory
management, and a loadable part that has the routines
for scheduling and file system ops.  spu_priv1.o needs
to always be built into the kernel.

-Geoff




More information about the cbe-oss-dev mailing list