Subject: RE: commit "ARM: dma-mapping: remove custom consistent dma region"

From: Marek Szyprowski <[email-masked]>
Date: Fri, 29 Jun 2012 07:22:33 +0200

Hi Paul,

On Wednesday, June 27, 2012 9:46 PM Paul Gortmaker wrote:

> This commit in linux-next:
> 
> commit feb930cb9beb75cbe1d1e798870599c3aa1b93ec
> Author: Marek Szyprowski <[email-masked]>
> Date:   Fri Jun 8 12:08:32 2012 +0200
> 
>     ARM: dma-mapping: remove custom consistent dma region
> 
> seems to break the at91x40_defconfig (according to git bisect).
> 
>   CC      arch/arm/mm/dma-mapping.o
> arch/arm/mm/dma-mapping.c: In function '__dma_alloc':
> arch/arm/mm/dma-mapping.c:575: error: macro "__alloc_from_pool" requires 4 arguments, but only
> 2 given
> arch/arm/mm/dma-mapping.c:575: error: '__alloc_from_pool' undeclared (first use in this
> function)
> arch/arm/mm/dma-mapping.c:575: error: (Each undeclared identifier is reported only once
> arch/arm/mm/dma-mapping.c:575: error: for each function it appears in.)
> make[2]: *** [arch/arm/mm/dma-mapping.o] Error 1
> make[1]: *** [arch/arm/mm/dma-mapping.o] Error 2
> 
> See http://kisskb.ellerman.id.au/kisskb/buildresult/6596769/ for a full log.
> 
> Please have a look when you get a chance.

Thanks for the report! I've added a fix to my dma-mapping-next branch, the issue should go 
away with the next update of linus-next tree.

Best regards
-- 
Marek Szyprowski
Samsung Poland R&D Center