[patch] 2.4.0-test3-pre8 compile fix

From: Tim Waugh (twaugh@redhat.com)
Date: Mon Jul 10 2000 - 06:52:13 EST


-Werror causes compilation to stop at init/main.c for me. This patch
gets rid of the warning.

Tim.
*/

Index: init/main.c
===================================================================
RCS file: /usr/local/src/cvsroot/linux/init/main.c,v
retrieving revision 1.1.1.32
diff -u -r1.1.1.32 main.c
--- init/main.c 2000/07/08 10:11:12 1.1.1.32
+++ init/main.c 2000/07/10 11:51:10
@@ -730,6 +730,7 @@
                 if (MAJOR(real_root_dev) != RAMDISK_MAJOR
                      || MINOR(real_root_dev) != 0) {
 #ifdef CONFIG_BLK_DEV_MD
+ extern void md_run_setup (void);
                         md_run_setup();
 #endif
                         error = change_root(real_root_dev,"/initrd");

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



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:11 EST