[PATCH] 2.5.5-pre1, allow RAM disk to be build

From: Rudmer van Dijk (rudmer@linuxmail.org)
Date: Sat Feb 16 2002 - 13:07:35 EST


Hi,

since 2.5.x (can't remember version correctly) the setup for RAM disk changed and I could not build it anymore into the kernel due to compilation errors.
In the latest prepatch (2.5.5-pre1) this is still not fixed. I am using the following patch to fix this and it works from 2.5.x upto 2.5.5-pre1 without any problems.

please apply,

Rudmer

PS. CC me as I am not on the list

--
# diff -uN linux-2.5.5-pre1/arch/i386/kernel/setup.c.orig linux-2.5.5-pre1/arch/i386/kernel/setup.c
--- linux-2.5.5-pre1/arch/i386/kernel/setup.c.orig   Thu Feb 14 20:39:00 2002
+++ linux-2.5.5-pre1/arch/i386/kernel/setup.c   Thu Feb 14 20:40:17 2002
@@ -661,7 +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_image_start, rd_prompt, rd_doload;
+#endif
 #ifdef CONFIG_VISWS
        visws_get_board_type_and_rev();
 #endif

--

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/



This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:12 EST