1.3.98: Problem with /proc/cpuinfo

John Gotts (jgotts@engin.umich.edu)
Sat, 04 May 1996 19:22:33 -0400


Bad things happened to me until I applied this patch:

diff -c -r linux/arch/i386/kernel/setup.c linux-new/arch/i386/kernel/setup.c
*** linux/arch/i386/kernel/setup.c Mon Apr 15 02:03:25 1996
--- linux-new/arch/i386/kernel/setup.c Sat May 4 19:05:15 1996
***************
*** 325,331 ****
}
}
len += sprintf(buffer+len,
! "\nbogomips:\t: %lu.%02lu\n",
CD(loops_per_sec)/500000,
(CD(loops_per_sec)/5000) % 100);
#ifdef __SMP__
--- 325,331 ----
}
}
len += sprintf(buffer+len,
! "\nbogomips\t: %lu.%02lu\n",
CD(loops_per_sec)/500000,
(CD(loops_per_sec)/5000) % 100);
#ifdef __SMP__

--
John Gotts <jgotts@engin.umich.edu> http://www-personal.engin.umich.edu/~jgotts
Junior, Electrical Engineering//Unix System Admininstrator, CAEN//Linux Devotee