]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
Merge branch 'release' of master.kernel.org:/home/ftp/pub/scm/linux/kernel/git/aegl...
authorLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 23:57:58 +0000 (15:57 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 23:57:58 +0000 (15:57 -0800)
* 'release' of master.kernel.org:/home/ftp/pub/scm/linux/kernel/git/aegl/linux-2.6:
  [IA64] Move sg_dma_{len,address} from pci.h to scatterlist.h

include/asm-ia64/pci.h
include/asm-ia64/scatterlist.h

index 825eb7d882e63bd7f582ce67c13b9e4e6c1cf977..556f53fa44cb2399af36ab50f3d69020fc956ef0 100644 (file)
@@ -78,9 +78,6 @@ pcibios_penalize_isa_irq (int irq, int active)
 #define pci_dac_dma_sync_single_for_cpu(dev,dma_addr,len,dir)  do { } while (0)
 #define pci_dac_dma_sync_single_for_device(dev,dma_addr,len,dir)       do { mb(); } while (0)
 
-#define sg_dma_len(sg)         ((sg)->dma_length)
-#define sg_dma_address(sg)     ((sg)->dma_address)
-
 #ifdef CONFIG_PCI
 static inline void pci_dma_burst_advice(struct pci_dev *pdev,
                                        enum pci_dma_burst_strategy *strat,
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 */