Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16f6e998 authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: pci-dma: use include/linux/dma-mapping.h



Based on af407c6d
and f41b1771

Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 22dcc2e3
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -94,14 +94,6 @@ extern int pci_mmap_legacy_page_range(struct pci_bus *bus,

#define HAVE_PCI_LEGACY	1

/* pci_unmap_{page,single} is a nop so... */
#define DECLARE_PCI_UNMAP_ADDR(ADDR_NAME)
#define DECLARE_PCI_UNMAP_LEN(LEN_NAME)
#define pci_unmap_addr(PTR, ADDR_NAME)		(0)
#define pci_unmap_addr_set(PTR, ADDR_NAME, VAL)	do { } while (0)
#define pci_unmap_len(PTR, LEN_NAME)		(0)
#define pci_unmap_len_set(PTR, LEN_NAME, VAL)	do { } while (0)

/* The PCI address space does equal the physical memory
 * address space (no IOMMU).  The IDE and SCSI device layers use
 * this boolean for bounce buffer decisions.