|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] linux/blktap2: allow to build as module
... and also allow to interact with blkback when that's also built as
a module.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
--- head-2009-05-29.orig/arch/i386/mm/hypervisor.c 2009-05-29
12:22:11.000000000 +0200
+++ head-2009-05-29/arch/i386/mm/hypervisor.c 2009-06-03 09:21:02.000000000
+0200
@@ -122,6 +122,7 @@ void xen_tlb_flush_all(void)
op.cmd = MMUEXT_TLB_FLUSH_ALL;
BUG_ON(HYPERVISOR_mmuext_op(&op, 1, NULL, DOMID_SELF) < 0);
}
+EXPORT_SYMBOL_GPL(xen_tlb_flush_all);
void xen_tlb_flush_mask(cpumask_t *mask)
{
@@ -132,6 +133,7 @@ void xen_tlb_flush_mask(const cpumask_t
set_xen_guest_handle(op.arg2.vcpumask, mask->bits);
BUG_ON(HYPERVISOR_mmuext_op(&op, 1, NULL, DOMID_SELF) < 0);
}
+EXPORT_SYMBOL_GPL(xen_tlb_flush_mask);
void xen_invlpg_all(unsigned long ptr)
{
--- head-2009-05-29.orig/drivers/xen/blktap2/device.c 2009-06-03
08:58:54.000000000 +0200
+++ head-2009-05-29/drivers/xen/blktap2/device.c 2009-05-29
12:39:04.000000000 +0200
@@ -14,7 +14,8 @@
#include "blktap.h"
-#ifdef CONFIG_XEN_BLKDEV_BACKEND
+#if defined(CONFIG_XEN_BLKDEV_BACKEND) || \
+ (defined(CONFIG_XEN_BLKDEV_BACKEND_MODULE) && defined(MODULE))
#include "../blkback/blkback-pagemap.h"
#else
struct blkback_pagemap { };
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] linux/blktap2: allow to build as module,
Jan Beulich <=
|
|
|
|
|