patch-2.1.30 linux/init/main.c

Next file: linux/kernel/exit.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.29/linux/init/main.c linux/init/main.c
@@ -22,6 +22,7 @@
 #include <linux/string.h>
 #include <linux/timer.h>
 #include <linux/fs.h>
+#include <linux/proc_fs.h>
 #include <linux/ctype.h>
 #include <linux/delay.h>
 #include <linux/utsname.h>
@@ -887,7 +888,9 @@
 	}
 #endif
 	mem_init(memory_start,memory_end);
+#ifdef CONFIG_PROC_FS
 	proc_root_init();
+#endif
 	kmem_cache_sizes_init();
 	vma_init();
 	buffer_init();

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