[Cbe-oss-dev] [PATCH 2/6] cell: add vicinity information on spus
Arnd Bergmann
arnd at arndb.de
Tue Feb 13 02:21:08 EST 2007
On Monday 12 February 2007 02:11, Andre Detsch wrote:
> @@ -623,6 +623,9 @@ static int __init create_spu(void *data)
> list_add(&spu->full_list, &spu_full_list);
> mutex_unlock(&spu_mutex);
>
> + INIT_LIST_HEAD(&spu->aff_list);
> + spu->devnode = (struct device_node *)data;
> +
> goto out;
>
> out_free_irqs:
style: you should not need to cast the data here, it's already a void
pointer.
> void* pdata; /* platform private data */
> struct sys_device sysdev;
> +
> + int has_mem_affinity;
> + struct device_node *devnode;
> + struct list_head aff_list;
> };
>
Note that this conflicts with a similar change that I think was already
merged in 2.6.21.
Arnd <><
More information about the cbe-oss-dev
mailing list