ramdisk as a module in 1.3.96

Wolfgang Friess (Wolfgang.Friess@dlr.de)
Mon, 29 Apr 1996 12:07:48 +0200 (MET DST)


The patch appended lets the ramdisk be loaded as a module
(rd.c a module doesn't compile without it).

-- 
___________________________________________________________
Wolfgang Friess, DLR, NE-HF, Postfach 11 16, 82230 Wessling
email: Wolfgang.Friess@dlr.de
Tel. +49(8153)28-2357, Fax -1135

diff -r -u orig/linux-1.3.96/drivers/block/rd.c linux/drivers/block/rd.c --- orig/linux-1.3.96/drivers/block/rd.c Sat Apr 27 10:07:18 1996 +++ linux/drivers/block/rd.c Mon Apr 29 10:28:39 1996 @@ -90,11 +90,11 @@ * architecture-specific setup routine (from the stored bootsector * information). */ +int rd_size = 4096; /* Size of the ramdisks */ #ifndef MODULE int rd_doload = 0; /* 1 = load ramdisk, 0 = don't load */ int rd_prompt = 1; /* 1 = prompt for ramdisk, 0 = don't prompt */ int rd_image_start = 0; /* starting block # of image */ -int rd_size = 4096; /* Size of the ramdisks */ #ifdef CONFIG_BLK_DEV_INITRD unsigned long initrd_start,initrd_end; int mount_initrd = 1; /* zero if initrd should not be mounted */