]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
i386: enable sg chaining
authorJens Axboe <jens.axboe@oracle.com>
Fri, 11 May 2007 10:57:30 +0000 (12:57 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 16 Oct 2007 09:26:01 +0000 (11:26 +0200)
We don't need to do more on x86, there's no iommu to be worried about.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/asm-x86/scatterlist_32.h

index d7e45a8f1aaeb22c629bea814c32208881916e11..bd5164aa8f63e24f013b4b2dea3477a1df6f4e4f 100644 (file)
@@ -10,6 +10,8 @@ struct scatterlist {
     unsigned int       length;
 };
 
+#define ARCH_HAS_SG_CHAIN
+
 /* These macros should be used after a pci_map_sg call has been done
  * to get bus addresses of each of the SG entries and their lengths.
  * You should only work with the number of sg entries pci_map_sg