aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/scatterlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/scatterlist.h')
-rw-r--r--include/asm-powerpc/scatterlist.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-powerpc/scatterlist.h b/include/asm-powerpc/scatterlist.h
index b9f1dbc24843..fcf7d55afe45 100644
--- a/include/asm-powerpc/scatterlist.h
+++ b/include/asm-powerpc/scatterlist.h
@@ -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;