Messages in this thread | | | From | "Graham Mitchell" <> | Date | Sat, 27 Apr 1996 20:59:51 +0000 | Subject | Bug in 1.3.93 and rd.c when compiling as module |
| |
Compiling the RAMDISK support as a module gives the error rd.c:278: `rd_size' undeclared (first use this function)
rd_size is defined at line 97 of rd.c, but is only defined if NOT compiling as a module
#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 */ #endif #endif
Graham
Ask not what you can do for your country, but what your government is doing to you
| |