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)
commit27222a3d2bbb40f80af6abf0cefea1b27125409e
treec5d136c0615ac1e5785526c3f5bbc90ddb63247c
parente9eca4de957ac33744fb994ccacd4a5102e445a8
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