]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/asm-m68knommu/scatterlist.h
Add CONFIG_DEBUG_SG sg validation
[mirror_ubuntu-artful-kernel.git] / include / asm-m68knommu / scatterlist.h
index 2085d6ff8782f3eb31473fc8ee31c0c56b1cad2f..10942840e88fcb030a3f3216930b6aa5c8b3d6c9 100644 (file)
@@ -2,9 +2,13 @@
 #define _M68KNOMMU_SCATTERLIST_H
 
 #include <linux/mm.h>
+#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;
        dma_addr_t      dma_address;
        unsigned int    length;