patch-2.1.92 linux/init/main.c

Next file: linux/ipc/shm.c
Previous file: linux/include/net/tcp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.91/linux/init/main.c linux/init/main.c
@@ -1144,6 +1144,13 @@
 	smp_begin();
 #endif	
 
+#ifdef CONFIG_KMOD
+	{
+		extern int kmod_init(void);
+		kmod_init();
+	}
+#endif
+
 #ifdef CONFIG_UMSDOS_FS
 	{
 		/*
@@ -1176,13 +1183,6 @@
 				printk(KERN_ERR "Change root to /initrd: "
 				    "error %d\n",error);
 		}
-	}
-#endif
-
-#ifdef CONFIG_KMOD
-	{
-		extern int kmod_init(void);
-		kmod_init();
 	}
 #endif
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov