[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>
Showing
- arch/x86_64/kernel/pci-swiotlb.c 2 additions, 1 deletionarch/x86_64/kernel/pci-swiotlb.c
- drivers/net/fec_8xx/fec_main.c 1 addition, 1 deletiondrivers/net/fec_8xx/fec_main.c
- drivers/net/fs_enet/fs_enet.h 1 addition, 2 deletionsdrivers/net/fs_enet/fs_enet.h
- include/asm-x86_64/dma-mapping.h 0 additions, 7 deletionsinclude/asm-x86_64/dma-mapping.h
- include/linux/dma-mapping.h 7 additions, 0 deletionsinclude/linux/dma-mapping.h
Loading
Please register or sign in to comment