Add CONFIG_DEBUG_SG sg validation
[linux-block.git] / include / asm-ia64 / scatterlist.h
index 2f76ce3049647e3972ef78651fd9bc1a92f565f3..d6f57874041d0f80e351dcfeafb27aed21d755a8 100644 (file)
@@ -9,6 +9,9 @@
 #include <asm/types.h>
 
 struct scatterlist {
+#ifdef CONFIG_DEBUG_SG
+       unsigned long sg_magic;
+#endif
        unsigned long page_link;
        unsigned int offset;
        unsigned int length;    /* buffer length */