Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   Bug#278413: Error in compiling kernel-source on MAC (http://www.linux-archive.org/debian-kernel/218553-bug-278413-error-compiling-kernel-source-mac.html)

Moritz Muehlenhoff 12-25-2008 02:25 PM

Bug#278413: Error in compiling kernel-source on MAC
 
reassign 278413 linux-2.6
thanks

On Tue, Oct 26, 2004 at 10:28:12PM +0200, Bernardi Giorgio wrote:
>
> Package: kernel-source
> Version: 2.6.8
>
> The problem is compiling the kernel-source using the attached config file:
>
> 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);
> }

Does this error still occur with more recent kernel versions?

Cheers,
Moritz





--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


All times are GMT. The time now is 12:53 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.