patch-2.3.32 linux/drivers/block/z2ram.c
Next file: linux/drivers/cdrom/aztcd.c
Previous file: linux/drivers/block/xd.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Dec 12 23:02:23 1999
- Orig file:
v2.3.31/linux/drivers/block/z2ram.c
- Orig date:
Thu Aug 12 11:50:14 1999
diff -u --recursive --new-file v2.3.31/linux/drivers/block/z2ram.c linux/drivers/block/z2ram.c
@@ -68,7 +68,7 @@
static int current_device = -1;
static void
-do_z2_request( void )
+do_z2_request( request_queue_t * q )
{
u_long start, len, addr, size;
@@ -373,7 +373,7 @@
}
}
- blk_dev[ MAJOR_NR ].request_fn = DEVICE_REQUEST;
+ blk_init_queue(BLK_DEFAULT_QUEUE(MAJOR_NR), DEVICE_REQUEST);
blksize_size[ MAJOR_NR ] = z2_blocksizes;
blk_size[ MAJOR_NR ] = z2_sizes;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)