summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorKanoj Sarcar <kanoj@engr.sgi.com>2001-04-12 23:12:58 +0000
committerKanoj Sarcar <kanoj@engr.sgi.com>2001-04-12 23:12:58 +0000
commit4baadc02cba27948e1cbd96510f9f000050bbbcc (patch)
tree15207357e574d6bf290fc6203e44df97a69a609b /fs
parentc162d2843275a1f55fc9af421c0b4ec7869fd1cb (diff)
Get back to the standard interface for get_cpuinfo(). The ouput is
still nonstandard, but it better be if you want to see whether your system has 64 or 128 cpus!
Diffstat (limited to 'fs')
-rw-r--r--fs/proc/proc_misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c
index 5863e45ac..a3eee35e1 100644
--- a/fs/proc/proc_misc.c
+++ b/fs/proc/proc_misc.c
@@ -49,7 +49,7 @@
* have a way to deal with that gracefully. Right now I used straightforward
* wrappers, but this needs further analysis wrt potential overflows.
*/
-extern int get_cpuinfo(char *, char **, off_t, int);
+extern int get_cpuinfo(char *);
extern int get_hardware_list(char *);
extern int get_stram_list(char *);
#ifdef CONFIG_DEBUG_MALLOC
@@ -211,7 +211,7 @@ static int version_read_proc(char *page, char **start, off_t off,
static int cpuinfo_read_proc(char *page, char **start, off_t off,
int count, int *eof, void *data)
{
- int len = get_cpuinfo(page, start, off, count);
+ int len = get_cpuinfo(page);
return proc_calc_metrics(page, start, off, count, eof, len);
}