All of lore.kernel.org
 help / color / mirror / Atom feed
* ppcfix.diff
@ 2004-11-29 15:40 hugang
  2004-11-29 16:42 ` ppcfix.diff Jan Engelhardt
  2004-11-29 17:22 ` ppcfix.diff Al Viro
  0 siblings, 2 replies; 6+ messages in thread
From: hugang @ 2004-11-29 15:40 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

Hi Andrew Morton:

Please apply this patch, to fix compile error in debian woody.
$gcc -v
Reading specs from /usr/lib/gcc-lib/powerpc-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)

--- 2.6.9-lzf/arch/ppc/syslib/open_pic.c	2004-11-26 12:32:58.000000000 +0800
+++ 2.6.9/arch/ppc/syslib/open_pic.c	2004-11-28 23:16:58.000000000 +0800
@@ -776,7 +776,8 @@ static void openpic_mapirq(u_int irq, cp
 	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);
 	}
-- 
--
Hu Gang / Steve
Linux Registered User 204016
GPG Public Key: http://soulinfo.com/~hugang/hugang.asc

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-11-29 18:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-29 15:40 ppcfix.diff hugang
2004-11-29 16:42 ` ppcfix.diff Jan Engelhardt
2004-11-29 17:04   ` ppcfix.diff Adrian Bunk
2004-11-29 17:22 ` ppcfix.diff Al Viro
2004-11-29 17:44   ` ppcfix.diff Jan Engelhardt
2004-11-29 18:12     ` ppcfix.diff Al Viro

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.