diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2012-10-03 14:35:18 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2012-10-08 16:02:09 +0100 |
commit | 27222a3d2bbb40f80af6abf0cefea1b27125409e (patch) | |
tree | c5d136c0615ac1e5785526c3f5bbc90ddb63247c /arch/arm64/mm/mm.h | |
parent | e9eca4de957ac33744fb994ccacd4a5102e445a8 (diff) | |
download | blackbird-op-linux-27222a3d2bbb40f80af6abf0cefea1b27125409e.tar.gz blackbird-op-linux-27222a3d2bbb40f80af6abf0cefea1b27125409e.zip |
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>
Diffstat (limited to 'arch/arm64/mm/mm.h')
-rw-r--r-- | arch/arm64/mm/mm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/mm/mm.h b/arch/arm64/mm/mm.h index d8d6e7851c14..916701e6d040 100644 --- a/arch/arm64/mm/mm.h +++ b/arch/arm64/mm/mm.h @@ -1,2 +1,3 @@ extern void __flush_dcache_page(struct page *page); extern void __init bootmem_init(void); +extern void __init arm64_swiotlb_init(void); |