Commit 7553ed46 authored by Randy Dunlap's avatar Randy Dunlap Committed by Greg Kroah-Hartman

[PATCH] PCI: move DMA_nnBIT_MASK to linux/dma-mapping.h

parent 47287358
...@@ -10,6 +10,9 @@ enum dma_data_direction { ...@@ -10,6 +10,9 @@ enum dma_data_direction {
DMA_NONE = 3, DMA_NONE = 3,
}; };
#define DMA_64BIT_MASK 0xffffffffffffffffULL
#define DMA_32BIT_MASK 0x00000000ffffffffULL
#include <asm/dma-mapping.h> #include <asm/dma-mapping.h>
/* Backwards compat, remove in 2.7.x */ /* Backwards compat, remove in 2.7.x */
......
...@@ -433,9 +433,6 @@ enum pci_mmap_state { ...@@ -433,9 +433,6 @@ enum pci_mmap_state {
#define PCI_DMA_FROMDEVICE 2 #define PCI_DMA_FROMDEVICE 2
#define PCI_DMA_NONE 3 #define PCI_DMA_NONE 3
#define DMA_64BIT_MASK 0xffffffffffffffffULL
#define DMA_32BIT_MASK 0x00000000ffffffffULL
#define DEVICE_COUNT_COMPATIBLE 4 #define DEVICE_COUNT_COMPATIBLE 4
#define DEVICE_COUNT_RESOURCE 12 #define DEVICE_COUNT_RESOURCE 12
......
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