search for: set_blkif_reqs

Displaying 1 result from an estimated 1 matches for "set_blkif_reqs".

2007 Oct 25
1
[PATCH] linux: Allow actually using CONFIG_XEN_BLKDEV_TAP=m
...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; ______...