Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97221
b: refs/heads/master
c: 667ad4f
h: refs/heads/master
i:
  97219: 87d023c
v: v3
  • Loading branch information
maximilian attems authored and Dave Jones committed May 19, 2008
1 parent 4931f86 commit 3f8d6f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eba9fe93a2959ec7f195c47c9db6ce7b5114ce1f
refs/heads/master: 667ad4f70110357e8f024e81741c7bd1d7906e7d
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/cpu/cpufreq/longrun.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ static unsigned int __init longrun_determine_freqs(unsigned int *low_freq,
if ((ecx > 95) || (ecx == 0) || (eax < ebx))
return -EIO;

edx = (eax - ebx) / (100 - ecx);
edx = ((eax - ebx) * 100) / (100 - ecx);
*low_freq = edx * 1000; /* back to kHz */

dprintk("low frequency is %u kHz\n", *low_freq);
Expand Down

0 comments on commit 3f8d6f3

Please sign in to comment.