diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-04 05:49:34 -0400 |
---|---|---|
committer | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-23 06:25:35 -0400 |
commit | 4c150f6c30f5129bbce5c41568a285b1f7ca8d8b (patch) | |
tree | 2ffbd31a47cd326c059dfb970a05d789032ddb5b /fs/proc | |
parent | 813dcf7a6e642feb1ea566b96ce2912249d2b57d (diff) |
proc: move /proc/stram to m68k-specific code
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Diffstat (limited to 'fs/proc')
-rw-r--r-- | fs/proc/proc_misc.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c index 542527f6630f..ec37d3aeaf19 100644 --- a/fs/proc/proc_misc.c +++ b/fs/proc/proc_misc.c | |||
@@ -63,7 +63,6 @@ | |||
63 | * have a way to deal with that gracefully. Right now I used straightforward | 63 | * have a way to deal with that gracefully. Right now I used straightforward |
64 | * wrappers, but this needs further analysis wrt potential overflows. | 64 | * wrappers, but this needs further analysis wrt potential overflows. |
65 | */ | 65 | */ |
66 | extern int get_stram_list(char *); | ||
67 | extern int get_exec_domain_list(char *); | 66 | extern int get_exec_domain_list(char *); |
68 | 67 | ||
69 | static int proc_calc_metrics(char *page, char **start, off_t off, | 68 | static int proc_calc_metrics(char *page, char **start, off_t off, |
@@ -197,15 +196,6 @@ static const struct file_operations proc_vmstat_file_operations = { | |||
197 | .release = seq_release, | 196 | .release = seq_release, |
198 | }; | 197 | }; |
199 | 198 | ||
200 | #ifdef CONFIG_STRAM_PROC | ||
201 | static int stram_read_proc(char *page, char **start, off_t off, | ||
202 | int count, int *eof, void *data) | ||
203 | { | ||
204 | int len = get_stram_list(page); | ||
205 | return proc_calc_metrics(page, start, off, count, eof, len); | ||
206 | } | ||
207 | #endif | ||
208 | |||
209 | #ifdef CONFIG_BLOCK | 199 | #ifdef CONFIG_BLOCK |
210 | static int partitions_open(struct inode *inode, struct file *file) | 200 | static int partitions_open(struct inode *inode, struct file *file) |
211 | { | 201 | { |
@@ -658,9 +648,6 @@ void __init proc_misc_init(void) | |||
658 | char *name; | 648 | char *name; |
659 | int (*read_proc)(char*,char**,off_t,int,int*,void*); | 649 | int (*read_proc)(char*,char**,off_t,int,int*,void*); |
660 | } *p, simple_ones[] = { | 650 | } *p, simple_ones[] = { |
661 | #ifdef CONFIG_STRAM_PROC | ||
662 | {"stram", stram_read_proc}, | ||
663 | #endif | ||
664 | {"filesystems", filesystems_read_proc}, | 651 | {"filesystems", filesystems_read_proc}, |
665 | {"cmdline", cmdline_read_proc}, | 652 | {"cmdline", cmdline_read_proc}, |
666 | {"execdomains", execdomains_read_proc}, | 653 | {"execdomains", execdomains_read_proc}, |