All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] linux: Allow actually using CONFIG_XEN_BLKDEV_TAP=m
@ 2007-10-25  9:17 Jan Beulich
  2007-10-25  9:23 ` Steve Kemp
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2007-10-25  9:17 UTC (permalink / raw)
  To: xen-devel

Again, this got broken. It would be really nice if regression testing
included building as a module everything that can be configured as
such...

As usual, written and tested against 2.6.23 and made apply against
2.6.18 without further testing.

Signed-off-by: Jan Beulich <jbeulich@novell.com>

Index: head-2007-10-15/arch/i386/mm/hypervisor.c
===================================================================
--- head-2007-10-15.orig/arch/i386/mm/hypervisor.c	2007-10-19 17:17:09.000000000 +0200
+++ head-2007-10-15/arch/i386/mm/hypervisor.c	2007-10-19 17:17:59.000000000 +0200
@@ -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)
 {
Index: head-2007-10-15/drivers/xen/blktap/blktap.c
===================================================================
--- head-2007-10-15.orig/drivers/xen/blktap/blktap.c	2007-10-19 17:17:15.000000000 +0200
+++ head-2007-10-15/drivers/xen/blktap/blktap.c	2007-06-22 09:21:11.000000000 +0200
@@ -116,13 +116,7 @@ typedef struct tap_blkif {
 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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] linux: Allow actually using CONFIG_XEN_BLKDEV_TAP=m
  2007-10-25  9:17 [PATCH] linux: Allow actually using CONFIG_XEN_BLKDEV_TAP=m Jan Beulich
@ 2007-10-25  9:23 ` Steve Kemp
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Kemp @ 2007-10-25  9:23 UTC (permalink / raw)
  To: xen-devel

On Thu Oct 25, 2007 at 10:17:12 +0100, Jan Beulich wrote:
> Again, this got broken. It would be really nice if regression testing
> included building as a module everything that can be configured as
> such...

  I recently discovered that the Linux build process has some
 new options these days.  Most useful and relevant here is:

    make allmodconfig
    make bzImage

  The first one attempts to build *everything* as a module.  There
 are other targets as described in the top-level README which are
 new - or at least new to me..

Steve
-- 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-25  9:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-25  9:17 [PATCH] linux: Allow actually using CONFIG_XEN_BLKDEV_TAP=m Jan Beulich
2007-10-25  9:23 ` Steve Kemp

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.