tile: uninline dma_set_mask
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Jan 2016 23:02:02 +0000 (15:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Jan 2016 01:09:18 +0000 (17:09 -0800)
commitbd38118f9c57b22f57f9c2fccca4a82aef15cc5f
tree11b33d85fda55e3a1719a36474a7ae5ce9a71874
parent30081d8ea47d521e8804398b25f59b8e49a2ed0b
tile: uninline dma_set_mask

We'll soon merge <asm-generic/dma-mapping-common.h> into
<linux/dma-mapping.h> and the reference to dma_capable in the tile
dma_set_mask would create a circular dependency.

Fix this by moving the implementation out of line.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Chris Metcalf <cmetcalf@ezchip.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Joerg Roedel <jroedel@suse.de>
Cc: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/tile/include/asm/dma-mapping.h
arch/tile/kernel/pci-dma.c