Commit 7d9432d8 authored by Jeff Garzik's avatar Jeff Garzik Committed by Linus Torvalds

[PATCH] forgotten pci_dma_mapping_error on x86-64

x86-64 needs this (obvious) patch, due to the rename.
parent 3b2c9f64
...@@ -49,7 +49,7 @@ struct pci_dev; ...@@ -49,7 +49,7 @@ struct pci_dev;
extern int iommu_setup(char *opt); extern int iommu_setup(char *opt);
extern dma_addr_t bad_dma_address; extern dma_addr_t bad_dma_address;
#define pci_dma_error(x) ((x) == bad_dma_address) #define pci_dma_mapping_error(x) ((x) == bad_dma_address)
/* Allocate and map kernel buffer using consistent mode DMA for a device. /* Allocate and map kernel buffer using consistent mode DMA for a device.
* hwdev should be valid struct pci_dev pointer for PCI devices, * hwdev should be valid struct pci_dev pointer for PCI devices,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment