Re: Linux 2.4.19-rc1-ac3

From: Peter Osterlund (petero2@telia.com)
Date: Fri Jul 12 2002 - 18:42:52 EST


Alan Cox <alan@redhat.com> writes:

> o Update cpufreq, add PIV throttling (Robert Schwebel,
> Padraig Brady, Zwane Mwaikambo, Arjan van de Ven,
> Tora Engstad)

It doesn't work because of a bug in cpufreq_p4_validatedc. Here is a
patch to fix it:

--- linux/arch/i386/kernel/p4-clockmod.c.orig Sat Jul 13 01:27:30 2002
+++ linux/arch/i386/kernel/p4-clockmod.c Sat Jul 13 01:27:55 2002
@@ -97,8 +97,9 @@
         for (i=0; i<8; i++)
                 if (percent <= cycle_table[i][0]) {
                         dc = cycle_table[i][1];
                         *pct = cycle_table[i][0];
+ break;
                 }
 
 
         if (has_N44_O17_errata && (dc == DC_25PT || dc == DC_DFLT)) {

-- 
Peter Osterlund - petero2@telia.com
http://w1.894.telia.com/~u89404340
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 15 2002 - 22:00:24 EST