[PATCH 10/33] x86-64: enable sg chaining
Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe <[EMAIL PROTECTED]> --- include/asm-x86_64/dma-mapping.h |3 +-- include/asm-x86_64/scatterlist.h |2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/asm-x86_64/dma-mapping.h b/include/asm-x86_64/dma-mapping.h index 6897e2a..ecd0f61 100644 --- a/include/asm-x86_64/dma-mapping.h +++ b/include/asm-x86_64/dma-mapping.h @@ -6,8 +6,7 @@ * documentation. */ - -#include +#include #include #include diff --git a/include/asm-x86_64/scatterlist.h b/include/asm-x86_64/scatterlist.h index eaf7ada..ef3986b 100644 --- a/include/asm-x86_64/scatterlist.h +++ b/include/asm-x86_64/scatterlist.h @@ -11,6 +11,8 @@ struct scatterlist { unsigned intdma_length; }; +#define ARCH_HAS_SG_CHAIN + #define ISA_DMA_THRESHOLD (0x00ff) /* These macros should be used after a pci_map_sg call has been done -- 1.5.3.rc0.90.gbaa79 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 10/33] x86-64: enable sg chaining
Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- include/asm-x86_64/dma-mapping.h |3 +-- include/asm-x86_64/scatterlist.h |2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/asm-x86_64/dma-mapping.h b/include/asm-x86_64/dma-mapping.h index 6897e2a..ecd0f61 100644 --- a/include/asm-x86_64/dma-mapping.h +++ b/include/asm-x86_64/dma-mapping.h @@ -6,8 +6,7 @@ * documentation. */ - -#include asm/scatterlist.h +#include linux/scatterlist.h #include asm/io.h #include asm/swiotlb.h diff --git a/include/asm-x86_64/scatterlist.h b/include/asm-x86_64/scatterlist.h index eaf7ada..ef3986b 100644 --- a/include/asm-x86_64/scatterlist.h +++ b/include/asm-x86_64/scatterlist.h @@ -11,6 +11,8 @@ struct scatterlist { unsigned intdma_length; }; +#define ARCH_HAS_SG_CHAIN + #define ISA_DMA_THRESHOLD (0x00ff) /* These macros should be used after a pci_map_sg call has been done -- 1.5.3.rc0.90.gbaa79 - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/