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

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

diff -u --recursive --new-file v1.3.88/linux/fs/proc/array.c linux/fs/proc/array.c
@@ -959,6 +959,7 @@
 extern int get_cpuinfo(char *);
 extern int get_pci_list(char*);
 extern int get_md_status (char *);
+extern int get_rtc_status (char *);
 #ifdef __SMP_PROF__
 extern int get_smp_prof_list(char *);
 #endif
@@ -1029,6 +1030,10 @@
 
                 case PROC_MTAB:
                        return get_filesystem_info( page );
+#ifdef CONFIG_RTC
+		case PROC_RTC:
+			return get_rtc_status(page);
+#endif
 	}
 	return -EBADF;
 }

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