[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] linux: Fix CONFIG_XEN_BLKDEV_TAP=m



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1193324177 -3600
# Node ID 11fb85f45a87786cd2e31cc1bcb1d3235b58a5ac
# Parent  1dd46ae53f924313f7a1788d88d4ba4e5462c2da
linux: Fix CONFIG_XEN_BLKDEV_TAP=m
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 arch/i386/mm/hypervisor.c   |    1 +
 drivers/xen/blktap/blktap.c |    8 +-------
 2 files changed, 2 insertions(+), 7 deletions(-)

diff -r 1dd46ae53f92 -r 11fb85f45a87 arch/i386/mm/hypervisor.c
--- a/arch/i386/mm/hypervisor.c Thu Oct 25 11:38:58 2007 +0100
+++ b/arch/i386/mm/hypervisor.c Thu Oct 25 15:56:17 2007 +0100
@@ -56,6 +56,7 @@ void xen_l1_entry_update(pte_t *ptr, pte
        u.val = __pte_val(val);
        BUG_ON(HYPERVISOR_mmu_update(&u, 1, NULL, DOMID_SELF) < 0);
 }
+EXPORT_SYMBOL_GPL(xen_l1_entry_update);
 
 void xen_l2_entry_update(pmd_t *ptr, pmd_t val)
 {
diff -r 1dd46ae53f92 -r 11fb85f45a87 drivers/xen/blktap/blktap.c
--- a/drivers/xen/blktap/blktap.c       Thu Oct 25 11:38:58 2007 +0100
+++ b/drivers/xen/blktap/blktap.c       Thu Oct 25 15:56:17 2007 +0100
@@ -115,13 +115,7 @@ static struct tap_blkif *tapfds[MAX_TAP_
 static struct tap_blkif *tapfds[MAX_TAP_DEV];
 static int blktap_next_minor;
 
-static int __init set_blkif_reqs(char *str)
-{
-       get_option(&str, &blkif_reqs);
-       return 1;
-}
-__setup("blkif_reqs=", set_blkif_reqs);
-
+module_param(blkif_reqs, int, 0);
 /* Run-time switchable: /sys/module/blktap/parameters/ */
 static unsigned int log_stats = 0;
 static unsigned int debug_lvl = 0;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.