patch-2.3.29 linux/fs/proc/proc_misc.c
Next file: linux/fs/proc/proc_tty.c
Previous file: linux/fs/proc/openpromfs.c
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
Tue Nov 23 12:15:29 1999
- Orig file:
v2.3.28/linux/fs/proc/proc_misc.c
- Orig date:
Thu Nov 11 20:11:50 1999
diff -u --recursive --new-file v2.3.28/linux/fs/proc/proc_misc.c linux/fs/proc/proc_misc.c
@@ -60,7 +60,6 @@
extern int get_exec_domain_list(char *);
extern int get_irq_list(char *);
extern int get_dma_list(char *);
-extern int get_rtc_status (char *);
extern int get_locks_status (char *, char **, off_t, int);
extern int get_swaparea_info (char *);
#ifdef CONFIG_SGI_DS1286
@@ -452,20 +451,6 @@
return len;
}
-#ifdef CONFIG_RTC
-static int rtc_read_proc(char *page, char **start, off_t off,
- int count, int *eof, void *data)
-{
- int len = get_rtc_status(page);
- if (len <= off+count) *eof = 1;
- *start = page + off;
- len -= off;
- if (len>count) len = count;
- if (len<0) len = 0;
- return len;
-}
-#endif
-
#ifdef CONFIG_SGI_DS1286
static int ds1286_read_proc(char *page, char **start, off_t off,
int count, int *eof, void *data)
@@ -664,9 +649,6 @@
{"dma", dma_read_proc},
{"ioports", ioports_read_proc},
{"cmdline", cmdline_read_proc},
-#ifdef CONFIG_RTC
- {"rtc", rtc_read_proc},
-#endif
#ifdef CONFIG_SGI_DS1286
{"rtc", ds1286_read_proc},
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)