[PATCH][2.5.2-pre9] fix ramdisk compile failure

Rudmer van Dijk (rudmer@linuxmail.org)
Tue, 08 Jan 2002 06:51:38 +0800


Hi,

for some time I was not able to compile a kernel with ramdisk support but with the following patch it works again!

rudmer

diff -u arch/i386/kernel/setup.c~ arch/i386/kernel/setup.c
--- arch/i386/kernel/setup.c~ Mon Jan 7 21:47:51 2002
+++ arch/i386/kernel/setup.c Mon Jan 7 23:38:45 2002
@@ -661,6 +661,9 @@
unsigned long bootmap_size, low_mem_size;
unsigned long start_pfn, max_low_pfn;
int i;
+#ifdef CONFIG_BLK_DEV_RAM
+ extern int rd_size, rd_image_start, rd_prompt, rd_doload;
+#endif

#ifdef CONFIG_VISWS
visws_get_board_type_and_rev();

-- 

Get your free email from www.linuxmail.org

Powered by Outblaze - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/