powerpc: move device_to_mask() to dma-mapping.h
authorMark Nelson <markn@au1.ibm.com>
Fri, 4 Jul 2008 19:05:45 +0000 (05:05 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 9 Jul 2008 06:30:44 +0000 (16:30 +1000)
commit3a4c6f0b1540811110a59112b4c83f55c229728c
tree6d2cc36af1100103ceb649a6fbdf8b2a9b526947
parent7e5f8105030038de94b44a74cd7b64dd000830fc
powerpc: move device_to_mask() to dma-mapping.h

Move device_to_mask() to dma-mapping.h because we need to use it from
outside dma_64.c in a later patch.

Signed-off-by: Mark Nelson <markn@au1.ibm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/dma_64.c
include/asm-powerpc/dma-mapping.h