patch-2.4.0-test11 linux/init/main.c
Next file: linux/ipc/shm.c
Previous file: linux/include/net/x25.h
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Fri Nov 17 16:45:57 2000
- Orig file:
v2.4.0-test10/linux/init/main.c
- Orig date:
Tue Oct 31 12:42:27 2000
diff -u --recursive --new-file v2.4.0-test10/linux/init/main.c linux/init/main.c
@@ -95,6 +95,7 @@
extern void signals_init(void);
extern void bdev_init(void);
extern int init_pcmcia_ds(void);
+extern void net_notifier_init(void);
extern void free_initmem(void);
extern void filesystem_setup(void);
@@ -710,6 +711,15 @@
#ifdef CONFIG_PCMCIA
init_pcmcia_ds(); /* Do this last */
#endif
+
+#ifdef CONFIG_HOTPLUG
+ /* do this after other 'do this last' stuff, because we want
+ * to minimize spurious executions of /sbin/hotplug
+ * during boot-up
+ */
+ net_notifier_init();
+#endif
+
/* Mount the root filesystem.. */
mount_root();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)