[PATCH] powerpc/85xx: Fix SMP compile error and allow NULL for smp_ops

Kumar Gala galak at kernel.crashing.org
Wed Sep 9 13:08:57 EST 2009


On Sep 8, 2009, at 4:31 PM, Benjamin Herrenschmidt wrote:

> On Tue, 2009-09-08 at 14:21 -0500, Kumar Gala wrote:
>
>>
>> struct smp_ops_t smp_85xx_ops = {
>> +	.message_pass = NULL,
>> +	.probe = NULL,
>> 	.kick_cpu = smp_85xx_kick_cpu,
>> +	.setup_cpu = NULL,
>> };
>
> Why explicitely setting those to NULL ?
>
> Cheers,
> Ben.

couldn't remember if we get NULL for initialized structs or not.

- k


More information about the Linuxppc-dev mailing list