2001-12-07 22:27:43

by Nicolas Vollmar

[permalink] [raw]
Subject: [PATCH] 2.5.1-pre6 (blk.h)

The Patch 2.5.1-pre6 removed some declarations in include/linux/blk.h who
are needed by arch/i386/kernel/setup.c<br>

diff -u -r -N linux/include/linux/blk.h linux-2.5.1-pre6/include/linux/blk.h
--- linux/include/linux/blk.h Fri Dec 7 23:07:22 2001
+++ linux-2.5.1-pre6/include/linux/blk.h Fri Dec 7 23:03:40 2001
@@ -15,6 +15,10 @@
extern void set_device_ro(kdev_t dev,int flag);
extern void add_blkdev_randomness(int major);

+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 */
+
#ifdef CONFIG_BLK_DEV_INITRD

#define INITRD_MINOR 250 /* shouldn't collide with /dev/ram* too soon ... */

Nicolas