X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-m68knommu%2Fscatterlist.h;h=afc4788b0d2c2f2a9c629c3836ab5d6b0c88e7e8;hb=cf1337f0447e5be8e66daa944f0ea3bcac2b6179;hp=2085d6ff8782f3eb31473fc8ee31c0c56b1cad2f;hpb=9db73724453a9350e1c22dbe732d427e2939a5c9;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-m68knommu/scatterlist.h b/include/asm-m68knommu/scatterlist.h index 2085d6ff878..afc4788b0d2 100644 --- a/include/asm-m68knommu/scatterlist.h +++ b/include/asm-m68knommu/scatterlist.h @@ -2,15 +2,18 @@ #define _M68KNOMMU_SCATTERLIST_H #include +#include 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; }; -#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)