]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-ia64/scatterlist.h
[IA64] Move sg_dma_{len,address} from pci.h to scatterlist.h
[linux-2.6-omap-h63xx.git] / include / asm-ia64 / scatterlist.h
index 834a189ef1898368e91c525fa3c4a228cc256478..9dbea8844d5ea11e003d81f339fda7c2f40edf9e 100644 (file)
@@ -25,4 +25,7 @@ struct scatterlist {
  */
 #define ISA_DMA_THRESHOLD      0xffffffff
 
+#define sg_dma_len(sg)         ((sg)->dma_length)
+#define sg_dma_address(sg)     ((sg)->dma_address)
+
 #endif /* _ASM_IA64_SCATTERLIST_H */