diff options
author | David Daney <ddaney@caviumnetworks.com> | 2010-10-01 22:27:33 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-10-29 20:08:32 +0200 |
commit | ee71b7d2f834d5e4b3a43001b2fa88743ed71a2c (patch) | |
tree | 9d7c5359c42908712a982c14f7dbf2d0b59f9e3c /arch/mips/kernel/setup.c | |
parent | MIPS: Convert DMA to use dma-mapping-common.h (diff) | |
download | linux-ee71b7d2f834d5e4b3a43001b2fa88743ed71a2c.tar.xz linux-ee71b7d2f834d5e4b3a43001b2fa88743ed71a2c.zip |
MIPS: Add a platform hook for swiotlb setup.
This allows platforms that are using the swiotlb to initialize it.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Patchwork: http://patchwork.linux-mips.org/patch/1638/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/setup.c')
-rw-r--r-- | arch/mips/kernel/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index a6b900f2962b..acd3f2c49c06 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c @@ -490,6 +490,7 @@ static void __init arch_mem_init(char **cmdline_p) bootmem_init(); device_tree_init(); sparse_init(); + plat_swiotlb_setup(); paging_init(); } |