* [PPC] Trivial patch
@ 2004-08-30 22:24 Daniele Pala
0 siblings, 0 replies; only message in thread
From: Daniele Pala @ 2004-08-30 22:24 UTC (permalink / raw)
To: linux-kernel
The problem:
arch/ppc/syslib/open_pic.c: In function `openpic_mapirq':
arch/ppc/syslib/open_pic.c:779: array index in non-array initializer
arch/ppc/syslib/open_pic.c:779: (near initialization for `irqdest')
arch/ppc/syslib/open_pic.c:779: warning: missing braces around initializer
arch/ppc/syslib/open_pic.c:779: warning: (near initialization for `irqdest.bits')
make[1]: *** [arch/ppc/syslib/open_pic.o] Error 1
make: *** [arch/ppc/syslib] Error 2
the fix:
--- open_pic.c Mon Aug 30 11:16:07 2004
+++ open_pic_mod.c Mon Aug 30 11:15:39 2004
@@ -776,7 +776,7 @@
if (ISR[irq] == 0)
return;
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) };
cpus_and(irqdest, irqdest, keepmask);
cpus_or(physmask, physmask, irqdest);
}
Please CC me privately, i'm not subscribed to the list. Cheers,
Daniele
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-08-30 22:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-30 22:24 [PPC] Trivial patch Daniele Pala
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.