]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-blackfin/scatterlist.h
include/asm-x86/compat.h: checkpatch cleanups - formatting only
[linux-2.6-omap-h63xx.git] / include / asm-blackfin / scatterlist.h
index 384af549e5b8836fedfad06d0a1c6ff5d95a6895..04f448711cd09eb1755875b87bfe2db353aff15f 100644 (file)
@@ -4,6 +4,9 @@
 #include <linux/mm.h>
 
 struct scatterlist {
+#ifdef CONFIG_DEBUG_SG
+       unsigned long sg_magic;
+#endif
        unsigned long page_link;
        unsigned int offset;
        dma_addr_t dma_address;
@@ -17,7 +20,6 @@ struct scatterlist {
  * returns, or alternatively stop on the first sg_dma_len(sg) which
  * is 0.
  */
-#define sg_address(sg) (page_address((sg)->page) + (sg)->offset)
 #define sg_dma_address(sg)      ((sg)->dma_address)
 #define sg_dma_len(sg)          ((sg)->length)