diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-03 14:42:36 -0400 |
---|---|---|
committer | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-23 06:24:03 -0400 |
commit | 813dcf7a6e642feb1ea566b96ce2912249d2b57d (patch) | |
tree | 80eb42f9c8d5673f35d9db8786dc251201e48d6f /fs | |
parent | b457d151613873ea035de0c7348abc3d4b6efd34 (diff) |
proc: move /proc/hardware to m68k-specific code
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Diffstat (limited to 'fs')
-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 4814b111d836..542527f6630f 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_hardware_list(char *); | ||
67 | extern int get_stram_list(char *); | 66 | extern int get_stram_list(char *); |
68 | extern int get_exec_domain_list(char *); | 67 | extern int get_exec_domain_list(char *); |
69 | 68 | ||
@@ -198,15 +197,6 @@ static const struct file_operations proc_vmstat_file_operations = { | |||
198 | .release = seq_release, | 197 | .release = seq_release, |
199 | }; | 198 | }; |
200 | 199 | ||
201 | #ifdef CONFIG_PROC_HARDWARE | ||
202 | static int hardware_read_proc(char *page, char **start, off_t off, | ||
203 | int count, int *eof, void *data) | ||
204 | { | ||
205 | int len = get_hardware_list(page); | ||
206 | return proc_calc_metrics(page, start, off, count, eof, len); | ||
207 | } | ||
208 | #endif | ||
209 | |||
210 | #ifdef CONFIG_STRAM_PROC | 200 | #ifdef CONFIG_STRAM_PROC |
211 | static int stram_read_proc(char *page, char **start, off_t off, | 201 | static int stram_read_proc(char *page, char **start, off_t off, |
212 | int count, int *eof, void *data) | 202 | int count, int *eof, void *data) |
@@ -668,9 +658,6 @@ void __init proc_misc_init(void) | |||
668 | char *name; | 658 | char *name; |
669 | int (*read_proc)(char*,char**,off_t,int,int*,void*); | 659 | int (*read_proc)(char*,char**,off_t,int,int*,void*); |
670 | } *p, simple_ones[] = { | 660 | } *p, simple_ones[] = { |
671 | #ifdef CONFIG_PROC_HARDWARE | ||
672 | {"hardware", hardware_read_proc}, | ||
673 | #endif | ||
674 | #ifdef CONFIG_STRAM_PROC | 661 | #ifdef CONFIG_STRAM_PROC |
675 | {"stram", stram_read_proc}, | 662 | {"stram", stram_read_proc}, |
676 | #endif | 663 | #endif |