Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ffc555be authored by Stefano Stabellini's avatar Stefano Stabellini Committed by Konrad Rzeszutek Wilk
Browse files

arm,arm64/include/asm/io.h: define struct bio_vec

parent e1d8f62a
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -374,6 +374,7 @@ extern void pci_iounmap(struct pci_dev *dev, void __iomem *addr);
#define BIOVEC_MERGEABLE(vec1, vec2)	\
#define BIOVEC_MERGEABLE(vec1, vec2)	\
	((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2)))
	((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2)))


struct bio_vec;
extern bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
extern bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
				      const struct bio_vec *vec2);
				      const struct bio_vec *vec2);
#define BIOVEC_PHYS_MERGEABLE(vec1, vec2)				\
#define BIOVEC_PHYS_MERGEABLE(vec1, vec2)				\
+1 −0
Original line number Original line Diff line number Diff line
@@ -266,6 +266,7 @@ extern int devmem_is_allowed(unsigned long pfn);
 */
 */
#define xlate_dev_kmem_ptr(p)	p
#define xlate_dev_kmem_ptr(p)	p


struct bio_vec;
extern bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
extern bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
				      const struct bio_vec *vec2);
				      const struct bio_vec *vec2);
#define BIOVEC_PHYS_MERGEABLE(vec1, vec2)				\
#define BIOVEC_PHYS_MERGEABLE(vec1, vec2)				\