]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-ia64/scatterlist.h
module: don't ignore vermagic string if module doesn't have modversions
[linux-2.6-omap-h63xx.git] / include / asm-ia64 / scatterlist.h
index 9dbea8844d5ea11e003d81f339fda7c2f40edf9e..d6f57874041d0f80e351dcfeafb27aed21d755a8 100644 (file)
@@ -6,8 +6,13 @@
  *     David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
  */
 
+#include <asm/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;    /* buffer length */
 
@@ -28,4 +33,6 @@ struct scatterlist {
 #define sg_dma_len(sg)         ((sg)->dma_length)
 #define sg_dma_address(sg)     ((sg)->dma_address)
 
+#define        ARCH_HAS_SG_CHAIN
+
 #endif /* _ASM_IA64_SCATTERLIST_H */