summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/scatterlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ia64/scatterlist.h')
-rw-r--r--include/asm-ia64/scatterlist.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-ia64/scatterlist.h b/include/asm-ia64/scatterlist.h
index 834a189ef189..9dbea8844d5e 100644
--- a/include/asm-ia64/scatterlist.h
+++ b/include/asm-ia64/scatterlist.h
@@ -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 */
OpenPOWER on IntegriCloud