android_kernel_xiaomi_sm8350/arch/cris
FUJITA Tomonori 3b9c6c11f5 dma-mapping: remove dma_is_consistent API
Architectures implement dma_is_consistent() in different ways (some
misinterpret the definition of API in DMA-API.txt).  So it hasn't been so
useful for drivers.  We have only one user of the API in tree.  Unlikely
out-of-tree drivers use the API.

Even if we fix dma_is_consistent() in some architectures, it doesn't look
useful at all.  It was invented long ago for some old systems that can't
allocate coherent memory at all.  It's better to export only APIs that are
definitely necessary for drivers.

Let's remove this API.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-11 08:59:21 -07:00
..
arch-v10 CRIS: Correct address of the romfs in boot image 2010-08-04 12:59:43 +02:00
arch-v32 Merge branch 'for-linus' of git://www.jni.nu/cris 2010-08-08 10:08:26 -07:00
boot CRIS: Discard .note.gnu.build-id section 2010-08-04 13:02:33 +02:00
configs
include dma-mapping: remove dma_is_consistent API 2010-08-11 08:59:21 -07:00
kernel CRIS: Fix alignment problem for older ld 2010-08-04 18:30:01 +02:00
mm CRIS: Always dump registers for segfaulting process. 2010-08-04 18:28:49 +02:00
Kconfig Merge branch 'for-linus' of git://www.jni.nu/cris 2010-08-08 10:08:26 -07:00
Kconfig.debug CRIS: Add config for pausing a seg-faulting process 2010-08-04 18:28:48 +02:00
Makefile