linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ralf@linux-mips.org
Date: Mon, 21 Feb 2005 21:34:30 +0000
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ralf@ftp.linux-mips.org 05/02/21 21:34:24

Modified files:
        arch/mips/kernel: proc.c 

Log message:
        On multiprocessor systems the BogoMIPS for each CPU was reported was
        the value for the last CPU having calibrated it's delay loop.

diff -urN linux/arch/mips/kernel/proc.c linux/arch/mips/kernel/proc.c
--- linux/arch/mips/kernel/proc.c       2004/03/24 10:37:26     1.53
+++ linux/arch/mips/kernel/proc.c       2005/02/21 21:34:24     1.54
@@ -105,8 +105,8 @@
                                   (version >> 4) & 0x0f, version & 0x0f,
                                   (fp_vers >> 4) & 0x0f, fp_vers & 0x0f);
        seq_printf(m, "BogoMIPS\t\t: %lu.%02lu\n",
-                     loops_per_jiffy / (500000/HZ),
-                     (loops_per_jiffy / (5000/HZ)) % 100);
+                     cpu_data[n].udelay_val / (500000/HZ),
+                     (cpu_data[n].udelay_val / (5000/HZ)) % 100);
        seq_printf(m, "wait instruction\t: %s\n", cpu_wait ? "yes" : "no");
        seq_printf(m, "microsecond timers\t: %s\n",
                      cpu_has_counter ? "yes" : "no");

<Prev in Thread] Current Thread [Next in Thread>