]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Xen: Export xen_biovec_phys_mergeable
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:41:27 +0000 (15:41 -0400)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:41:27 +0000 (15:41 -0400)
When Xen is enabled, using BIOVEC_PHYS_MERGEABLE in a module
causes xen_biovec_phys_mergeable to be referenced, so it needs
to be exported.

Acked-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/xen/biomerge.c

index ba6eda4b51433e20e87f4ae977cdd565f7d3c300..18c1bb6ffce34dec32c4ba3ec3e6a96459fc771b 100644 (file)
@@ -11,3 +11,4 @@ bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
        return __BIOVEC_PHYS_MERGEABLE(vec1, vec2) &&
                ((mfn1 == mfn2) || ((mfn1+1) == mfn2));
 }
+EXPORT_SYMBOL(xen_biovec_phys_mergeable);