sh: Bump up dma_ops initialization far earlier in the boot process.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 27 Oct 2009 08:07:45 +0000 (17:07 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 27 Oct 2009 08:07:45 +0000 (17:07 +0900)
commit94c285108e4551157ecc1b8156921712138fa860
tree5eed34d9e097a81542c8c640b19fb264d071518a
parent4c978ca3194a4002407a85b15122f793efc8616b
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>
arch/sh/mm/consistent.c
arch/sh/mm/init.c