Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67788
b: refs/heads/master
c: 562d94d
h: refs/heads/master
v: v3
  • Loading branch information
Mark Langsdorf authored and Dave Jones committed Oct 4, 2007
1 parent 7a3e6ee commit 020dae0
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 55395ae72b6e5ae614d28df74158c47454652583
refs/heads/master: 562d94d98f7032bdc4a99d9124a78a543dbea225
5 changes: 4 additions & 1 deletion trunk/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ static u32 find_khz_freq_from_fid(u32 fid)
/* Return a frequency in MHz, given an input fid and did */
static u32 find_freq_from_fiddid(u32 fid, u32 did)
{
return 100 * (fid + 0x10) >> did;
if (current_cpu_data.x86 == 0x10)
return 100 * (fid + 0x10) >> did;
else
return 100 * (fid + 0x8) >> did;
}

static u32 find_khz_freq_from_fiddid(u32 fid, u32 did)
Expand Down

0 comments on commit 020dae0

Please sign in to comment.