Messages in this thread | | | Date | Mon, 29 Nov 2004 18:44:14 +0100 (MET) | From | Jan Engelhardt <> | Subject | Re: ppcfix.diff |
| |
>> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |