]> err.no Git - linux-2.6/blobdiff - include/asm-m68knommu/scatterlist.h
Add CONFIG_DEBUG_SG sg validation
[linux-2.6] / include / asm-m68knommu / scatterlist.h
index 28bed41dc80b3d354802cae1f2c7c48514f1600d..10942840e88fcb030a3f3216930b6aa5c8b3d6c9 100644 (file)
@@ -5,6 +5,9 @@
 #include <asm/types.h>
 
 struct scatterlist {
+#ifdef CONFIG_DEBUG_SG
+       unsigned long   sg_magic;
+#endif
        unsigned long   page_link;
        unsigned int    offset;
        dma_addr_t      dma_address;