arm64: Remove pgprot_dmacoherent()
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 24 Mar 2014 10:35:35 +0000 (10:35 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 24 Mar 2014 10:35:35 +0000 (10:35 +0000)
Since this macro is identical to pgprot_writecombine() and is only used
in a single place, remove it completely to avoid confusion. On ARMv7+
processors, the coherent DMA mapping must be Normal NonCacheable (a.k.a.
writecombine) to avoid mismatched hardware attribute aliases (with the
kernel linear mapping as Normal Cacheable).

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/pgtable.h
arch/arm64/mm/dma-mapping.c

Simple merge
Simple merge