[PATCH] Move valid_dma_direction() from x86_64 to generic code
authorRolf Eike Beer <eike-kernel@sf-tec.de>
Fri, 29 Sep 2006 08:59:48 +0000 (01:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:10 +0000 (09:18 -0700)
commitd6bd3a39f7c6ebad49c261c3d458df974c880758
treea5cf6054a8ff276f8d84ba94bb5df89ed5646332
parentd09d7ddf3018b4c6efa76dce72f6dec6054fa22b
[PATCH] Move valid_dma_direction() from x86_64 to generic code

As suggested by Muli Ben-Yehuda this function is moved to generic code as
may be useful for all archs.

[akpm@osdl.org: fix]
Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Cc: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/pci-swiotlb.c
drivers/net/fec_8xx/fec_main.c
drivers/net/fs_enet/fs_enet.h
include/asm-x86_64/dma-mapping.h
include/linux/dma-mapping.h