lkml.org 
[lkml]   [2004]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:1.642 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site