]> git.baikalelectronics.ru Git - kernel.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>
Mon, 8 Oct 2012 15:02:09 +0000 (16:02 +0100)
commitabf1c2de1934239c145aaa80961aa4fabba63b8e
treec5d136c0615ac1e5785526c3f5bbc90ddb63247c
parentff31ec9ad5a0a7c102ef94f179c8eee2cf03e212
arm64: Call swiotlb_init() instead of swiotlb_init_with_default_size()

Following commit 44b9fc1 (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