]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sparc/scatterlist.h
x86: add lapic_shutdown for x86_64
[linux-2.6-omap-h63xx.git] / include / asm-sparc / scatterlist.h
index a4fcf9ac964910bf65c98a553c5395e62a2d7023..e08d3d775b08aff2fa7029aa592744cc78ed5ad4 100644 (file)
@@ -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) */