patch-2.0.21 linux/arch/i386/kernel/setup.c

Next file: linux/drivers/block/ide-cd.c
Previous file: linux/Rules.make
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.20/linux/arch/i386/kernel/setup.c linux/arch/i386/kernel/setup.c
@@ -327,8 +327,8 @@
                         }
                         len += sprintf(buffer+len,
                                        "\nbogomips\t: %lu.%02lu\n",
-                                       CD(loops_per_sec)/500000,
-                                       (CD(loops_per_sec)/5000) % 100);
+                                       CD(loops_per_sec+2500)/500000,
+                                       (CD(loops_per_sec+2500)/5000) % 100);
 #ifdef __SMP__
                 }
         }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov