]> err.no Git - linux-2.6/blobdiff - include/asm-powerpc/scatterlist.h
powerpc: Make sure that include/asm-powerpc/spinlock.h does not trigger compilation...
[linux-2.6] / include / asm-powerpc / scatterlist.h
index b9f1dbc24843088f33eddc411a54794f26dae205..fcf7d55afe4599e3049713156145997fa066e1e3 100644 (file)
@@ -14,6 +14,9 @@
 #include <asm/dma.h>
 
 struct scatterlist {
+#ifdef CONFIG_DEBUG_SG
+       unsigned long sg_magic;
+#endif
        unsigned long page_link;
        unsigned int offset;
        unsigned int length;