mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
bc4b024a8b
For a long time all architectures implement the pci_dma_* functions using the generic DMA API, and they all use the same header to do so. Move this header, pci-dma-compat.h, to include/linux and include it from the generic pci.h instead of having each arch duplicate this include. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
9 lines
168 B
C
9 lines
168 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
|
|
#endif
|