Re: ppcfix.diff

From: Jan Engelhardt
Date: Mon Nov 29 2004 - 12:46:53 EST


>> if (!cpus_empty(keepmask)) {
>> - cpumask_t irqdest = { .bits[0] = openpic_read(&ISR[irq]->Destination) };
>> + cpumask_t irqdest;
>> + irqdest.bits[0] = openpic_read(&ISR[irq]->Destination);
>
>Not an equivalent replacement. The former means "set irqdest.bits[0] to
><expression> and set the rest of fields/array elements in them to zero/null".

Really? I thought zero'ing only happens for static storage.



Jan Engelhardt
--
Gesellschaft fÃr Wissenschaftliche Datenverarbeitung
Am Fassberg, 37077 GÃttingen, www.gwdg.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/