search for: jpihet

Displaying 1 result from an estimated 1 matches for "jpihet".

Did you mean: pihet
2007 Oct 11
5
cpufreq: weird bug in set_time_scale
On my test machine, in set_time_scale(), the following code: ts->mul_frac = div_frac(MILLISECS(1000), tps32); crashes with a division by zero error if tps32 == 1000000000d. Unfortunately, tps32 is often that value. Does anyone know why this happens? I''ve resolved it temporarily by checking for tps32 == 1000000000 and changing the value slightly (101000010d works fine on my test