X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;ds=sidebyside;f=include%2Flinux%2Fscatterlist.h;h=9aaf5bfdad1afcb5e85b39482ea0458a0ea6b83c;hb=a206e9417f19cf42156249953b72223a0076dc6b;hp=e5996984ddd0f9d8b242f9b7219e6f9006c35548;hpb=c3c2233d84bee397b8271923c007264eb3efa67b;p=mv-sheeva.git diff --git a/include/linux/scatterlist.h b/include/linux/scatterlist.h index e5996984ddd..9aaf5bfdad1 100644 --- a/include/linux/scatterlist.h +++ b/include/linux/scatterlist.h @@ -242,6 +242,8 @@ size_t sg_copy_to_buffer(struct scatterlist *sgl, unsigned int nents, */ #define SG_MITER_ATOMIC (1 << 0) /* use kmap_atomic */ +#define SG_MITER_TO_SG (1 << 1) /* flush back to phys on unmap */ +#define SG_MITER_FROM_SG (1 << 2) /* nop */ struct sg_mapping_iter { /* the following three fields can be accessed directly */