patch-2.1.113 linux/drivers/block/ll_rw_blk.c

Next file: linux/drivers/block/paride/pcd.c
Previous file: linux/drivers/block/ide.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.112/linux/drivers/block/ll_rw_blk.c linux/drivers/block/ll_rw_blk.c
@@ -716,6 +716,9 @@
 		}
 	}
 }
+#ifdef CONFIG_STRAM_SWAP
+extern int stram_device_init( void );
+#endif
 
 /*
  * First step of what used to be end_request
@@ -796,6 +799,9 @@
 	memset(max_sectors, 0, sizeof(max_sectors));
 #ifdef CONFIG_AMIGA_Z2RAM
 	z2_init();
+#endif
+#ifdef CONFIG_STRAM_SWAP
+	stram_device_init();
 #endif
 #ifdef CONFIG_BLK_DEV_RAM
 	rd_init();

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov