diff options
| -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) \ |
