summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/scatterlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/scatterlist.h')
-rw-r--r--include/asm-sh/scatterlist.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asm-sh/scatterlist.h b/include/asm-sh/scatterlist.h
index b9ae53c38365..a7d0d1856a99 100644
--- a/include/asm-sh/scatterlist.h
+++ b/include/asm-sh/scatterlist.h
@@ -4,7 +4,10 @@
#include <asm/types.h>
struct scatterlist {
- struct page * page; /* Location for highmem page, if any */
+#ifdef CONFIG_DEBUG_SG
+ unsigned long sg_magic;
+#endif
+ unsigned long page_link;
unsigned int offset;/* for highmem, page offset */
dma_addr_t dma_address;
unsigned int length;
OpenPOWER on IntegriCloud