Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227293
b: refs/heads/master
c: 9f56da0
h: refs/heads/master
i:
  227291: 886eeff
v: v3
  • Loading branch information
Borislav Petkov committed Jan 7, 2011
1 parent 3851b0b commit 7cb2cda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 3ab0e7dc2e1d5598da609ec9a9bcd3b69b8fa654
refs/heads/master: 9f56da0e3c3269abe0b2745a54f1b082c3c14433
5 changes: 2 additions & 3 deletions trunk/drivers/edac/amd64_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1046,13 +1046,12 @@ static int k8_early_channel_count(struct amd64_pvt *pvt)
if (err)
return err;

if ((boot_cpu_data.x86_model >> 4) >= K8_REV_F) {
if (pvt->ext_model >= K8_REV_F)
/* RevF (NPT) and later */
flag = pvt->dclr0 & F10_WIDTH_128;
} else {
else
/* RevE and earlier */
flag = pvt->dclr0 & REVE_WIDTH_128;
}

/* not used */
pvt->dclr1 = 0;
Expand Down

0 comments on commit 7cb2cda

Please sign in to comment.