On Tue, Apr 24, 2001 at 02:01:59PM -0400, Jaspreet Singh wrote:
> I am running linux on a SA-1110 processor. I have configured the kernel
> to use HZ=400 instead of 100 to increase scheduling.
[snip]
> I have also noticed that there is a bug in /proc/cpuinfo node where
> Bogomips is specified.
>
> from file: /arch/arm/kernel/setup.c function: int get_cpuinfo(char *
> buffer)
>
> p += sprintf(p, "BogoMIPS\t: %lu.%02lu\n",
> loops_per_jiffy / 500000,
> (loops_per_jiffy / 5000) % 100);
> believe it should be:
>
> p += sprintf(p, "BogoMIPS\t: %lu.%02lu\n",
> loops_per_jiffy / (500000 /HZ),
> (loops_per_jiffy / (5000/HZ)) % 100);
Good spot, but this was already fixed in 2.4.3-rmk1-np1 (and Russell
applied it to 2.4.3-rmk2). If you upgrade to 2.4.3-rmk1-np2 it will
work without problems.
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: [EMAIL PROTECTED]
WWW: http://www-ict.its.tudelft.nl/~erik/
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.