From 7806ca89bc0437d9952c6337d3bbddf1ea3591ff Mon Sep 17 00:00:00 2001 From: Tony Luck Date: Wed, 13 Dec 2006 13:15:10 -0800 Subject: [IA64] Move sg_dma_{len,address} from pci.h to scatterlist.h IA64 is in a tiny minority providing these defines in pci.h. Almost everyone else has them in scatterlist.h Signed-off-by: Tony Luck --- include/asm-ia64/scatterlist.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/asm-ia64/scatterlist.h') diff --git a/include/asm-ia64/scatterlist.h b/include/asm-ia64/scatterlist.h index 834a189ef18..9dbea8844d5 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 */ -- cgit v1.2.3