diff options
author | Florian Lohoff <flo@rfc822.org> | 2001-01-17 13:44:59 +0000 |
---|---|---|
committer | Florian Lohoff <flo@rfc822.org> | 2001-01-17 13:44:59 +0000 |
commit | 775899f8ae4dc00979c7e21d72886e8ca845bab0 (patch) | |
tree | fd5512e2faa22be658f96a6ce54da51ed8039c44 /arch/mips/kernel | |
parent | 5e43428cb8b8a5f63225b6d87c82b672e1bb5e00 (diff) |
loops_per_sec is now loops_per_jiffy - Raider is Twix
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r-- | arch/mips/kernel/proc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/kernel/proc.c b/arch/mips/kernel/proc.c index fd642396b..615031946 100644 --- a/arch/mips/kernel/proc.c +++ b/arch/mips/kernel/proc.c @@ -56,8 +56,9 @@ int get_cpuinfo(char *buffer) mach_group_names[mips_machgroup], 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/(500000/HZ), + (loops_per_jiffy/(5000/HZ)) % 100); + #if defined (__MIPSEB__) len += sprintf(buffer + len, "byteorder\t\t: big endian\n"); #endif |