diff options
author | Mike Rapoport <mike@compulab.co.il> | 2009-12-22 07:31:04 +0100 |
---|---|---|
committer | Venkata(Muni) Anda <muni@nvidia.com> | 2010-01-12 20:52:40 -0800 |
commit | b9ad8db2da9c5b6f73fdbee9a98bbc76a25b6e6b (patch) | |
tree | 980cfdaf799a30efbd5e400987896f6874f85c7b /arch/arm/common | |
parent | 79375eb17a9d8e614c2c2cc0dd1eeb5c4651fa85 (diff) |
ARM: 5857/1: ARM: dmabounce: fix build
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>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/common')
-rw-r--r-- | 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 a0d1b2113df4..21f14ee48533 100644 --- a/arch/arm/common/dmabounce.c +++ b/arch/arm/common/dmabounce.c @@ -311,7 +311,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); } |