diff options
author | Keith M Wesolowski <wesolows@foobazco.org> | 2001-02-26 01:08:20 +0000 |
---|---|---|
committer | Keith M Wesolowski <wesolows@foobazco.org> | 2001-02-26 01:08:20 +0000 |
commit | e3eb7ee2ae9c639081e5c3209930582d7a1717c0 (patch) | |
tree | c600e6c30870799556d14cc6cc22f760ecc093f7 /arch/mips64 | |
parent | 7ba1171cc6ddcdf138522e5c63b15ff3dbe9edf6 (diff) |
Update to using loops_per_jiffy instead of loops_per_sec.
Diffstat (limited to 'arch/mips64')
-rw-r--r-- | arch/mips64/kernel/proc.c | 4 | ||||
-rw-r--r-- | arch/mips64/kernel/setup.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/arch/mips64/kernel/proc.c b/arch/mips64/kernel/proc.c index 766540e2c..d25a4ab04 100644 --- a/arch/mips64/kernel/proc.c +++ b/arch/mips64/kernel/proc.c @@ -48,8 +48,8 @@ int get_cpuinfo(char *buffer, char **start, off_t offset, int count) mach_group_to_name[mips_machgroup][mips_machtype]); */ len += sprintf(buffer + len, "BogoMIPS\t\t: %lu.%02lu\n", - (loops_per_sec + 2500) / 500000, - ((loops_per_sec + 2500) / 5000) % 100); + (loops_per_jiffy + 2500) / (500000/HZ), + ((loops_per_jiffy + 2500) / (5000/HZ)) % 100); /* len += sprintf(buffer + len, "Number of cpus\t\t: %d\n", smp_num_cpus);*/ #if defined (__MIPSEB__) len += sprintf(buffer + len, "byteorder\t\t: big endian\n"); diff --git a/arch/mips64/kernel/setup.c b/arch/mips64/kernel/setup.c index f30f6ba83..077a63034 100644 --- a/arch/mips64/kernel/setup.c +++ b/arch/mips64/kernel/setup.c @@ -56,8 +56,6 @@ char wait_available; */ char cyclecounter_available; -unsigned long loops_per_sec; - /* * Set if box has EISA slots. */ |