patch-1.3.60 linux/fs/proc/root.c

Next file: linux/fs/read_write.c
Previous file: linux/fs/proc/array.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.59/linux/fs/proc/root.c linux/fs/proc/root.c
@@ -333,6 +333,12 @@
 		PROC_INTERRUPTS, 10,"interrupts",
 		S_IFREG | S_IRUGO, 1, 0, 0,
 	});
+#ifdef __SMP_PROF__
+	proc_register(&proc_root, &(struct proc_dir_entry) {
+		PROC_SMP_PROF, 3,"smp",
+		S_IFREG | S_IRUGO, 1, 0, 0,
+	});
+#endif 
 	proc_register(&proc_root, &(struct proc_dir_entry) {
 		PROC_FILESYSTEMS, 11,"filesystems",
 		S_IFREG | S_IRUGO, 1, 0, 0,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this