[Cbe-oss-dev] [patch 6/6] spufs: platform ops
Stephen Rothwell
sfr at canb.auug.org.au
Thu Apr 27 12:16:42 EST 2006
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'?
> Index: cell--alp--1/arch/powerpc/platforms/ps3/setup.c
> ===================================================================
> +
> +extern const struct spu_priv1_ops spu_sony_hv_priv1_ops;
Declare this in an appropriate header file.
> +struct machdep_calls __initdata ps3_md = {
> + .setup_arch = ps3_setup_arch,
> +};
The machinedep stuff has changed in later kernels (just a heads up).
--
Cheers,
Stephen Rothwell sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/cbe-oss-dev/attachments/20060427/9ea9dae5/attachment.pgp>
More information about the cbe-oss-dev
mailing list