]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: dma-mapping: fix build break on no-MMU platform
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 28 Jun 2012 07:23:08 +0000 (09:23 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 23 Jul 2012 16:21:13 +0000 (18:21 +0200)
commit471e58861d605e6ef16f9cfbb7200cac32aa9c27
treededb973203fb709c63125af867865b03d4d5c8b0
parent880362a4b6a4cb2a3f059b3c24dd32ae05a3d31b
ARM: dma-mapping: fix build break on no-MMU platform

This patch fixes the following build break on no-MMU ARM architectures:

arch/arm/mm/dma-mapping.c:576:39: error: macro "__alloc_from_pool" requires 4 arguments, but only 2 given
arch/arm/mm/dma-mapping.c: In function ‘__dma_alloc’:
arch/arm/mm/dma-mapping.c:576: error: ‘__alloc_from_pool’ undeclared (first use in this function)
arch/arm/mm/dma-mapping.c:576: error: (Each undeclared identifier is reported only once
arch/arm/mm/dma-mapping.c:576: error: for each function it appears in.)
make[1]: *** [arch/arm/mm/dma-mapping.o] Error 1

Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
arch/arm/mm/dma-mapping.c