aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/scatterlist.h
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2006-12-13 13:15:10 -0800
committerTony Luck <tony.luck@intel.com>2006-12-13 13:15:10 -0800
commit7806ca89bc0437d9952c6337d3bbddf1ea3591ff (patch)
tree0475b102340fe3d9df78b1ef8c6f8b49e48a63bb /include/asm-ia64/scatterlist.h
parent445722f97a0ecd3aed3f53d9f0dcaacaef8c6223 (diff)
downloadkernel_samsung_smdk4412-7806ca89bc0437d9952c6337d3bbddf1ea3591ff.zip
kernel_samsung_smdk4412-7806ca89bc0437d9952c6337d3bbddf1ea3591ff.tar.gz
kernel_samsung_smdk4412-7806ca89bc0437d9952c6337d3bbddf1ea3591ff.tar.bz2
[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 <tony.luck@intel.com>
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 834a189..9dbea88 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 */