]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-blackfin/scatterlist.h
[WATCHDOG] Fix build with CONFIG_ITCO_VENDOR_SUPPORT=n
[linux-2.6-omap-h63xx.git] / include / asm-blackfin / scatterlist.h
index 60e07b92044cdda56ec6834eba26d30f2f153f80..04f448711cd09eb1755875b87bfe2db353aff15f 100644 (file)
@@ -4,7 +4,10 @@
 #include <linux/mm.h>
 
 struct scatterlist {
-       struct page *page;
+#ifdef CONFIG_DEBUG_SG
+       unsigned long sg_magic;
+#endif
+       unsigned long page_link;
        unsigned int offset;
        dma_addr_t dma_address;
        unsigned int length;
@@ -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)