From: Jens Axboe Date: Thu, 10 May 2007 09:59:55 +0000 (+0200) Subject: x86-64: enable sg chaining X-Git-Tag: v2.6.24-rc1~833^2~1^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=46856afa01769db3a5b16c3f57aa5bca45729edd;p=thirdparty%2Fkernel%2Flinux.git x86-64: enable sg chaining Signed-off-by: Jens Axboe --- diff --git a/include/asm-x86/dma-mapping_64.h b/include/asm-x86/dma-mapping_64.h index 6897e2a436e5c..ecd0f6125ba3b 100644 --- a/include/asm-x86/dma-mapping_64.h +++ b/include/asm-x86/dma-mapping_64.h @@ -6,8 +6,7 @@ * documentation. */ - -#include +#include #include #include diff --git a/include/asm-x86/scatterlist_64.h b/include/asm-x86/scatterlist_64.h index eaf7ada27e148..ef3986ba4b790 100644 --- a/include/asm-x86/scatterlist_64.h +++ b/include/asm-x86/scatterlist_64.h @@ -11,6 +11,8 @@ struct scatterlist { unsigned int dma_length; }; +#define ARCH_HAS_SG_CHAIN + #define ISA_DMA_THRESHOLD (0x00ffffff) /* These macros should be used after a pci_map_sg call has been done