Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27437
b: refs/heads/master
c: 8cbe016
h: refs/heads/master
i:
  27435: 3d2fd19
v: v3
  • Loading branch information
Dave Jones committed May 30, 2006
1 parent 9c1a061 commit 958153f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 2e3f8faaa73f5065ae653a84997b5cd4d5876e1a
refs/heads/master: 8cbe0169053ffa185ad349088eb0901946c14a09
8 changes: 4 additions & 4 deletions trunk/arch/i386/kernel/cpu/cpufreq/powernow-k7.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,23 +452,23 @@ static int powernow_decode_bios (int maxfid, int startvid)

pst = (struct pst_s *) p;

for (i = 0 ; i <psb->numpst; i++) {
for (j=0; j<psb->numpst; j++) {
pst = (struct pst_s *) p;
number_scales = pst->numpstates;

if ((etuple == pst->cpuid) && check_fsb(pst->fsbspeed) &&
(maxfid==pst->maxfid) && (startvid==pst->startvid))
{
dprintk ("PST:%d (@%p)\n", i, pst);
dprintk ("PST:%d (@%p)\n", j, pst);
dprintk (" cpuid: 0x%x fsb: %d maxFID: 0x%x startvid: 0x%x\n",
pst->cpuid, pst->fsbspeed, pst->maxfid, pst->startvid);

ret = get_ranges ((char *) pst + sizeof (struct pst_s));
return ret;

} else {
unsigned int k;
p = (char *) pst + sizeof (struct pst_s);
for (j=0 ; j < number_scales; j++)
for (k=0; k<number_scales; k++)
p+=2;
}
}
Expand Down

0 comments on commit 958153f

Please sign in to comment.