Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mike Rapoport and committed by
Russell King
d9fd3ab8 db93dd1a

+1 -1
+1 -1
arch/arm/common/dmabounce.c
··· 312 312 * we need to ensure that the data will be coherent 313 313 * with user mappings. 314 314 */ 315 - __cpuc_flush_kernel_dcache_area(ptr, size); 315 + __cpuc_flush_dcache_area(ptr, size); 316 316 } 317 317 free_safe_buffer(dev->archdata.dmabounce, buf); 318 318 }