x86-64: enable sg chaining
authorJens Axboe <jens.axboe@oracle.com>
Thu, 10 May 2007 09:59:55 +0000 (11:59 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 16 Oct 2007 09:26:02 +0000 (11:26 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/asm-x86/dma-mapping_64.h
include/asm-x86/scatterlist_64.h

index 6897e2a436e5cc92245a456ececbe2824bf50bc4..ecd0f6125ba3b3c005be3192c44ce07e4383021e 100644 (file)
@@ -6,8 +6,7 @@
  * documentation.
  */
 
-
-#include <asm/scatterlist.h>
+#include <linux/scatterlist.h>
 #include <asm/io.h>
 #include <asm/swiotlb.h>
 
index eaf7ada27e1485c81bc174e417141128c587e056..ef3986ba4b7909ba91805cfa341b3f4690262e0f 100644 (file)
@@ -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