patch-2.4.1 linux/arch/sh/kernel/setup.c
Next file: linux/arch/sh/kernel/sh_bios.c
Previous file: linux/arch/sh/kernel/process.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Sun Jan 28 18:56:00 2001
- Orig file:
v2.4.0/linux/arch/sh/kernel/setup.c
- Orig date:
Thu Jan 4 13:19:13 2001
diff -u --recursive --new-file v2.4.0/linux/arch/sh/kernel/setup.c linux/arch/sh/kernel/setup.c
@@ -503,8 +503,8 @@
"cache size\t: 8K-byte/16K-byte\n");
#endif
p += sprintf(p, "bogomips\t: %lu.%02lu\n\n",
- (loops_per_jiffy+2500)/(500000/HZ),
- ((loops_per_jiffy+2500)/(5000/HZ)) % 100);
+ loops_per_jiffy/(500000/HZ),
+ (loops_per_jiffy/(5000/HZ)) % 100);
p += sprintf(p, "Machine: %s\n", sh_mv.mv_name);
#define PRINT_CLOCK(name, value) \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)