* [PATCH] ARM: dmabounce: fix build
@ 2009-12-20 8:18 Mike Rapoport
2009-12-21 23:35 ` Russell King - ARM Linux
0 siblings, 1 reply; 2+ messages in thread
From: Mike Rapoport @ 2009-12-20 8:18 UTC (permalink / raw)
To: linux-arm-kernel
Commit f74f7e57ae9fa12b2951ae62ce3557799b318399 (ARM: use
flush_kernel_dcache_area() for dmabounce) has broken dmabounce build:
CC arch/arm/common/dmabounce.o
arch/arm/common/dmabounce.c: In function 'unmap_single':
arch/arm/common/dmabounce.c:315: error: implicit declaration of function '__cpuc_flush_kernel_dcache_area'
make[2]: *** [arch/arm/common/dmabounce.o] Error 1
Fix it.
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
---
arch/arm/common/dmabounce.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/common/dmabounce.c b/arch/arm/common/dmabounce.c
index bc90364..cc32c1e 100644
--- a/arch/arm/common/dmabounce.c
+++ b/arch/arm/common/dmabounce.c
@@ -312,7 +312,7 @@ static inline void unmap_single(struct device *dev, dma_addr_t dma_addr,
* we need to ensure that the data will be coherent
* with user mappings.
*/
- __cpuc_flush_kernel_dcache_area(ptr, size);
+ __cpuc_flush_dcache_area(ptr, size);
}
free_safe_buffer(dev->archdata.dmabounce, buf);
}
--
1.6.0.6
--
Sincerely yours,
Mike.
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: dmabounce: fix build
2009-12-20 8:18 [PATCH] ARM: dmabounce: fix build Mike Rapoport
@ 2009-12-21 23:35 ` Russell King - ARM Linux
0 siblings, 0 replies; 2+ messages in thread
From: Russell King - ARM Linux @ 2009-12-21 23:35 UTC (permalink / raw)
To: linux-arm-kernel
On Sun, Dec 20, 2009 at 10:18:31AM +0200, Mike Rapoport wrote:
> Commit f74f7e57ae9fa12b2951ae62ce3557799b318399 (ARM: use
> flush_kernel_dcache_area() for dmabounce) has broken dmabounce build:
>
> CC arch/arm/common/dmabounce.o
> arch/arm/common/dmabounce.c: In function 'unmap_single':
> arch/arm/common/dmabounce.c:315: error: implicit declaration of function '__cpuc_flush_kernel_dcache_area'
> make[2]: *** [arch/arm/common/dmabounce.o] Error 1
>
> Fix it.
>
> Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Ok, can you submit this to the patch system please? Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-21 23:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-20 8:18 [PATCH] ARM: dmabounce: fix build Mike Rapoport
2009-12-21 23:35 ` Russell King - ARM Linux
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).