aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDing Tianhong <dingtianhong@huawei.com>2014-12-05 08:39:46 +0000
committerKees Cook <keescook@google.com>2015-10-07 13:13:42 -0700
commit2a73c5a28c6b2808539f690f1b0fa8aa49ee1c58 (patch)
tree8f32c81f64ca34b5981a7e16f5bd495d9e3125ec
parent40ab942b678f76a27b74acb8e6ee27b4a5e33810 (diff)
downloadlinux-linaro-stable-2a73c5a28c6b2808539f690f1b0fa8aa49ee1c58.tar.gz
UPSTREAM: arm64: remove the unnecessary arm64_swiotlb_init()
The commit 3690951fc6d42f3a0903987677d0e592c49dd8db (arm64: Use swiotlb late initialisation) switches the DMA mapping code to swiotlb_tlb_late_init_with_default_size(), the arm64_swiotlb_init() will not used anymore, so remove this function. Signed-off-by: Ding Tianhong <dingtianhong@huawei.com> Signed-off-by: Will Deacon <will.deacon@arm.com> (cherry picked from commit eb8a653137b7e74f7cdc01f814eb9d094a65aed9) Signed-off-by: Tomasz Figa <tfiga@chromium.org> Bug: 24475017 Change-Id: Ida77712c3601e2b213a4f3f913e25fba184153d7 Signed-off-by: Kees Cook <keescook@google.com>
-rw-r--r--arch/arm64/mm/mm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/mm/mm.h b/arch/arm64/mm/mm.h
index d519f4f50c8c..50c3351df9c7 100644
--- a/arch/arm64/mm/mm.h
+++ b/arch/arm64/mm/mm.h
@@ -1,2 +1 @@
extern void __init bootmem_init(void);
-extern void __init arm64_swiotlb_init(void);