mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 20:32:22 +00:00
f41b177157
All the architectures properly set NEED_DMA_MAP_STATE now so we can safely add linux/pci-dma.h to linux/pci.h and remove the linux/pci-dma.h inclusion in arch's asm/pci.h Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Acked-by: Arnd Bergmann <arnd@arndb.de> Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
12 lines
210 B
C
12 lines
210 B
C
#ifndef ___ASM_SPARC_PCI_H
|
|
#define ___ASM_SPARC_PCI_H
|
|
#if defined(__sparc__) && defined(__arch64__)
|
|
#include <asm/pci_64.h>
|
|
#else
|
|
#include <asm/pci_32.h>
|
|
#endif
|
|
|
|
#include <asm-generic/pci-dma-compat.h>
|
|
|
|
#endif
|