]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/linux/scatterlist.h
Apply SCST exec req fifo patch
[mv-sheeva.git] / include / linux / scatterlist.h
index 9aaf5bfdad1afcb5e85b39482ea0458a0ea6b83c..01779961c40c979e8541a48c098650f03f1521fd 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <asm/types.h>
 #include <asm/scatterlist.h>
+#include <asm/kmap_types.h>
 #include <linux/mm.h>
 #include <linux/string.h>
 #include <asm/io.h>
@@ -218,6 +219,10 @@ size_t sg_copy_from_buffer(struct scatterlist *sgl, unsigned int nents,
 size_t sg_copy_to_buffer(struct scatterlist *sgl, unsigned int nents,
                         void *buf, size_t buflen);
 
+int sg_copy(struct scatterlist *dst_sg, struct scatterlist *src_sg,
+           int nents_to_copy, size_t copy_len,
+           enum km_type d_km_type, enum km_type s_km_type);
+
 /*
  * Maximum number of entries that will be allocated in one piece, if
  * a list larger than this is required then chaining will be utilized.