MIPS: move coherentio setup to setup.c
authorChristoph Hellwig <hch@lst.de>
Fri, 15 Jun 2018 11:08:45 +0000 (13:08 +0200)
committerPaul Burton <paul.burton@mips.com>
Sun, 24 Jun 2018 16:26:04 +0000 (09:26 -0700)
commitaa4db775959a65ddbb4a5b2c886cc520614abb81
tree951318dbeb6c274e2dc9656f146c7d0d6eb83fc0
parent54aed4dd35269ef15eb1569517f34fb3961d4d34
MIPS: move coherentio setup to setup.c

We want to be able to use it even when not building dma-default.c
in the near future.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Patchwork: https://patchwork.linux-mips.org/patch/19543/
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: David Daney <david.daney@cavium.com>
Cc: Kevin Cernekee <cernekee@gmail.com>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: Tom Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Huacai Chen <chenhc@lemote.com>
Cc: iommu@lists.linux-foundation.org
Cc: linux-mips@linux-mips.org
arch/mips/kernel/setup.c
arch/mips/mm/dma-default.c