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

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

diff -u --recursive --new-file v1.3.59/linux/fs/proc/array.c linux/fs/proc/array.c
@@ -782,6 +782,9 @@
 extern int get_dma_list(char *);
 extern int get_cpuinfo(char *);
 extern int get_pci_list(char*);
+#ifdef __SMP_PROF__
+extern int get_smp_prof_list(char *);
+#endif
 
 static int get_root_array(char * page, int type, char **start, off_t offset, int length)
 {
@@ -839,6 +842,10 @@
 #ifdef CONFIG_APM
 		case PROC_APM:
 			return apm_proc(page);
+#endif
+#ifdef __SMP_PROF__
+		case PROC_SMP_PROF:
+			return get_smp_prof_list(page);
 #endif
 		case PROC_CMDLINE:
 			return get_cmdline(page);

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