--- include/linux/blk.h.orig Sat Jan 12 17:38:39 2002 +++ include/linux/blk.h Sat Jan 12 17:24:35 2002 @@ -22,12 +22,18 @@ extern unsigned long initrd_start,initrd_end; extern int initrd_below_start_ok; /* 1 if it is not an error if initrd_start < memory_start */ +void initrd_init(void); + +#endif + +#ifdef CONFIG_BLK_DEV_RAM + extern int rd_doload; /* 1 = load ramdisk, 0 = don't load */ extern int rd_prompt; /* 1 = prompt for ramdisk, 0 = don't prompt */ extern int rd_image_start; /* starting block # of image */ -void initrd_init(void); #endif + /* * end_request() and friends. Must be called with the request queue spinlock * acquired. All functions called within end_request() _must_be_ atomic.