summaryrefslogtreecommitdiffstats
path: root/fix-arm-xen-driver-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-arm-xen-driver-build.patch')
-rw-r--r--fix-arm-xen-driver-build.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/fix-arm-xen-driver-build.patch b/fix-arm-xen-driver-build.patch
new file mode 100644
index 00000000..9e29ea69
--- /dev/null
+++ b/fix-arm-xen-driver-build.patch
@@ -0,0 +1,14 @@
+diff --git a/arch/arm/xen/p2m.c b/arch/arm/xen/p2m.c
+index 23732cd..7772fa8 100644
+--- a/arch/arm/xen/p2m.c
++++ b/arch/arm/xen/p2m.c
+@@ -27,7 +27,9 @@ struct xen_p2m_entry {
+
+ rwlock_t p2m_lock;
+ struct rb_root phys_to_mach = RB_ROOT;
++EXPORT_SYMBOL_GPL(phys_to_mach);
+ static struct rb_root mach_to_phys = RB_ROOT;
++EXPORT_SYMBOL_GPL(mach_to_phys);
+
+ static int xen_add_phys_to_mach_entry(struct xen_p2m_entry *new)
+ {