patch-2.2.11 linux/fs/proc/root.c
Next file: linux/fs/qnx4/dir.c
Previous file: linux/fs/proc/link.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Mon Aug 9 12:04:41 1999
- Orig file:
v2.2.10/linux/fs/proc/root.c
- Orig date:
Wed Apr 28 08:47:39 1999
diff -u --recursive --new-file v2.2.10/linux/fs/proc/root.c linux/fs/proc/root.c
@@ -633,6 +633,13 @@
0, &proc_array_inode_operations
};
#endif
+#ifdef CONFIG_SGI_DS1286
+static struct proc_dir_entry proc_root_ds1286 = {
+ PROC_RTC, 3, "rtc",
+ S_IFREG | S_IRUGO, 1, 0, 0,
+ 0, &proc_array_inode_operations
+};
+#endif
static struct proc_dir_entry proc_root_locks = {
PROC_LOCKS, 5, "locks",
S_IFREG | S_IRUGO, 1, 0, 0,
@@ -709,6 +716,9 @@
proc_register(&proc_root, &proc_root_cmdline);
#ifdef CONFIG_RTC
proc_register(&proc_root, &proc_root_rtc);
+#endif
+#ifdef CONFIG_SGI_DS1286
+ proc_register(&proc_root, &proc_root_ds1286);
#endif
proc_register(&proc_root, &proc_root_locks);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)