diff options
| author | Jens Axboe <jens.axboe@oracle.com> | 2007-05-10 05:59:55 -0400 |
|---|---|---|
| committer | Jens Axboe <jens.axboe@oracle.com> | 2007-10-16 05:26:02 -0400 |
| commit | 46856afa01769db3a5b16c3f57aa5bca45729edd (patch) | |
| tree | f212009533cbe6023b4f59903ea8ef78440537c6 | |
| parent | 9ee1bea4694f99d7f9cc85a93599411ad9f80f47 (diff) | |
x86-64: enable sg chaining
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
| -rw-r--r-- | include/asm-x86/dma-mapping_64.h | 3 | ||||
| -rw-r--r-- | include/asm-x86/scatterlist_64.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-x86/dma-mapping_64.h b/include/asm-x86/dma-mapping_64.h index 6897e2a436e5..ecd0f6125ba3 100644 --- a/include/asm-x86/dma-mapping_64.h +++ b/include/asm-x86/dma-mapping_64.h | |||
| @@ -6,8 +6,7 @@ | |||
| 6 | * documentation. | 6 | * documentation. |
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | 9 | #include <linux/scatterlist.h> | |
| 10 | #include <asm/scatterlist.h> | ||
| 11 | #include <asm/io.h> | 10 | #include <asm/io.h> |
| 12 | #include <asm/swiotlb.h> | 11 | #include <asm/swiotlb.h> |
| 13 | 12 | ||
diff --git a/include/asm-x86/scatterlist_64.h b/include/asm-x86/scatterlist_64.h index eaf7ada27e14..ef3986ba4b79 100644 --- a/include/asm-x86/scatterlist_64.h +++ b/include/asm-x86/scatterlist_64.h | |||
| @@ -11,6 +11,8 @@ struct scatterlist { | |||
| 11 | unsigned int dma_length; | 11 | unsigned int dma_length; |
| 12 | }; | 12 | }; |
| 13 | 13 | ||
| 14 | #define ARCH_HAS_SG_CHAIN | ||
| 15 | |||
| 14 | #define ISA_DMA_THRESHOLD (0x00ffffff) | 16 | #define ISA_DMA_THRESHOLD (0x00ffffff) |
| 15 | 17 | ||
| 16 | /* These macros should be used after a pci_map_sg call has been done | 18 | /* These macros should be used after a pci_map_sg call has been done |
