aboutsummaryrefslogtreecommitdiff
path: root/include/asm-sparc/scatterlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc/scatterlist.h')
-rw-r--r--include/asm-sparc/scatterlist.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-sparc/scatterlist.h b/include/asm-sparc/scatterlist.h
index a4fcf9ac964..e08d3d775b0 100644
--- a/include/asm-sparc/scatterlist.h
+++ b/include/asm-sparc/scatterlist.h
@@ -5,7 +5,10 @@
#include <linux/types.h>
struct scatterlist {
- struct page *page;
+#ifdef CONFIG_DEBUG_SG
+ unsigned long sg_magic;
+#endif
+ unsigned long page_link;
unsigned int offset;
unsigned int length;
@@ -19,4 +22,6 @@ struct scatterlist {
#define ISA_DMA_THRESHOLD (~0UL)
+#define ARCH_HAS_SG_CHAIN
+
#endif /* !(_SPARC_SCATTERLIST_H) */