aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew.r.wilcox@intel.com>2011-11-04 15:41:27 -0400
committerMatthew Wilcox <matthew.r.wilcox@intel.com>2011-11-04 15:41:27 -0400
commit0b934ccd707ff33a87f15a35a9916d1d8e85d30e (patch)
treea2613d05d888b59bc7d9f452b8acfbe0f2e5f7fb /drivers/xen
parentc3b92c8787367a8bb53d57d9789b558f1295cc96 (diff)
Xen: Export xen_biovec_phys_mergeable
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>
Diffstat (limited to 'drivers/xen')
-rw-r--r--drivers/xen/biomerge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/biomerge.c b/drivers/xen/biomerge.c
index ba6eda4b5143..18c1bb6ffce3 100644
--- a/drivers/xen/biomerge.c
+++ b/drivers/xen/biomerge.c
@@ -11,3 +11,4 @@ bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
11 return __BIOVEC_PHYS_MERGEABLE(vec1, vec2) && 11 return __BIOVEC_PHYS_MERGEABLE(vec1, vec2) &&
12 ((mfn1 == mfn2) || ((mfn1+1) == mfn2)); 12 ((mfn1 == mfn2) || ((mfn1+1) == mfn2));
13} 13}
14EXPORT_SYMBOL(xen_biovec_phys_mergeable);