Re: Build error : 2.6.21-rc6-mm1 for ppc 405

From: Andrew Morton
Date: Tue Apr 10 2007 - 21:12:47 EST


On Tue, 10 Apr 2007 20:50:42 -0400
Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx> wrote:

> Hi Andrew,
>
> I get the following build error when building 2.6.21-rc6-mm1 for ppc
> 405:
>
>
> /home/compudj/git/linux-2.6-lttng/arch/ppc/syslib/ppc4xx_sgdma.c: In function 'ppc4xx_alloc_dma_handle':
> /home/compudj/git/linux-2.6-lttng/arch/ppc/syslib/ppc4xx_sgdma.c:374: warning: implicit declaration of function 'dma_alloc_coherent'

gregkh-pci-pci-cleanup-the-includes-of-linux-pcih.patch removes the pci.h
include, which presumably is what broke this. Appropriate fix is to
include dma-mapping.h in ppc4xx_sgdma.c. I queued a fix.


> /home/compudj/git/linux-2.6-lttng/arch/powerpc/sysdev/dcr.c:37: warning: 'struct device_node' declared inside parameter list

Srinivasa Ds <srinivasa@xxxxxxxxxx> sent a fix for this today.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/