]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Drop generic xlate_dev_mem_{k,}ptr()
authorJames Morse <james.morse@arm.com>
Mon, 5 Sep 2016 08:43:04 +0000 (09:43 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 5 Sep 2016 09:23:56 +0000 (10:23 +0100)
commitc10c695ef22471e451561a2352f3422376ae197b
treef27c4e17fb57bd8f686e2a97aef72a86c25ec80d
parent372ae09392f14a99b5fc6e9ed3869b1adf747ce2
arm64: Drop generic xlate_dev_mem_{k,}ptr()

The code that provides /dev/mem uses xlate_dev_mem_{k,}ptr() to
avoid making a cachable mapping of a non-cachable area on ia64.
On arm64 we do this via phys_mem_access_prot() instead, but provide
dummy versions of xlate_dev_mem_{k,}ptr().

These are the same as those in asm-generic/io.h, which we include from
asm/io.h

Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/io.h