summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew.r.wilcox@intel.com>2011-11-04 20:41:27 +0100
committerMatthew Wilcox <matthew.r.wilcox@intel.com>2011-11-04 20:41:27 +0100
commit0b934ccd707ff33a87f15a35a9916d1d8e85d30e (patch)
treea2613d05d888b59bc7d9f452b8acfbe0f2e5f7fb /drivers
parentLinux 3.1 (diff)
downloadlinux-0b934ccd707ff33a87f15a35a9916d1d8e85d30e.tar.xz
linux-0b934ccd707ff33a87f15a35a9916d1d8e85d30e.zip
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')
-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,
return __BIOVEC_PHYS_MERGEABLE(vec1, vec2) &&
((mfn1 == mfn2) || ((mfn1+1) == mfn2));
}
+EXPORT_SYMBOL(xen_biovec_phys_mergeable);