diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2013-11-06 07:38:28 -0500 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2013-11-08 16:12:28 -0500 |
commit | ffc555be09bd2603abdbc6f8b64c6a7477facc48 (patch) | |
tree | 65fcde50c325c51d82077c965e4dde4cfa06c466 | |
parent | e1d8f62ad49a6a7068aa1bdc30252911d71c4dc4 (diff) |
arm,arm64/include/asm/io.h: define struct bio_vec
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
-rw-r--r-- | arch/arm/include/asm/io.h | 1 | ||||
-rw-r--r-- | arch/arm64/include/asm/io.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index c45effc18312..3c597c222ef2 100644 --- a/arch/arm/include/asm/io.h +++ b/arch/arm/include/asm/io.h | |||
@@ -374,6 +374,7 @@ extern void pci_iounmap(struct pci_dev *dev, void __iomem *addr); | |||
374 | #define BIOVEC_MERGEABLE(vec1, vec2) \ | 374 | #define BIOVEC_MERGEABLE(vec1, vec2) \ |
375 | ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) | 375 | ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) |
376 | 376 | ||
377 | struct bio_vec; | ||
377 | extern bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, | 378 | extern bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, |
378 | const struct bio_vec *vec2); | 379 | const struct bio_vec *vec2); |
379 | #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) \ | 380 | #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) \ |
diff --git a/arch/arm64/include/asm/io.h b/arch/arm64/include/asm/io.h index c163287b9871..757c87a04531 100644 --- a/arch/arm64/include/asm/io.h +++ b/arch/arm64/include/asm/io.h | |||
@@ -266,6 +266,7 @@ extern int devmem_is_allowed(unsigned long pfn); | |||
266 | */ | 266 | */ |
267 | #define xlate_dev_kmem_ptr(p) p | 267 | #define xlate_dev_kmem_ptr(p) p |
268 | 268 | ||
269 | struct bio_vec; | ||
269 | extern bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, | 270 | extern bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, |
270 | const struct bio_vec *vec2); | 271 | const struct bio_vec *vec2); |
271 | #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) \ | 272 | #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) \ |