]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm64: Call swiotlb_init() instead of swiotlb_init_with_default_size()
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 3 Oct 2012 13:35:18 +0000 (14:35 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 4 Oct 2012 11:08:24 +0000 (12:08 +0100)
commit2cf970d7433605f56517c756772ed63cdf20e48f
tree2cbbd0755040ae861296105d5b13ea6b634fb044
parent612a9aab56a93533e76e3ad91642db7033e03b69
arm64: Call swiotlb_init() instead of swiotlb_init_with_default_size()

Following commit 74838b7 (swiotlb: add the late swiotlb initialization
function with iotlb memory) the swiotlb_init_with_default_size() is a
static function. This patch changes the arm64 code to call
swiotlb_init() instead and use the default size of 64MB. It is assumed
that AArch64 platforms have enough RAM to afford the pre-allocated
swiotlb memory. It also removes the #ifdef around this call since
CONFIG_SWIOTLB is always enabled.

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