summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/consistent.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-10-27 17:07:45 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-10-27 17:07:45 +0900
commit94c285108e4551157ecc1b8156921712138fa860 (patch)
tree5eed34d9e097a81542c8c640b19fb264d071518a /arch/sh/mm/consistent.c
parent4c978ca3194a4002407a85b15122f793efc8616b (diff)
sh: Bump up dma_ops initialization far earlier in the boot process.
Presently this was tacked on to the dma debug init bits from fs_initcall(), which is far too late for devices setting up their own per-device coherent areas. Throw this in the beginning of mem_init(), as per the x86 iommu allocation. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/consistent.c')
-rw-r--r--arch/sh/mm/consistent.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh/mm/consistent.c b/arch/sh/mm/consistent.c
index ef20bbabefa..902967e3f84 100644
--- a/arch/sh/mm/consistent.c
+++ b/arch/sh/mm/consistent.c
@@ -27,8 +27,6 @@ EXPORT_SYMBOL(dma_ops);
static int __init dma_init(void)
{
dma_debug_init(PREALLOC_DMA_DEBUG_ENTRIES);
-
- no_iommu_init();
return 0;
}
fs_initcall(dma_init);