Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323185
b: refs/heads/master
c: b70f833
h: refs/heads/master
i:
  323183: e4b48c7
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Sep 25, 2012
1 parent 800dc7d commit 5a48b49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 582a899622f19005126d2858f08ee0c9dac34870
refs/heads/master: b70f833377fc80d7446218b36206e2e299fc6bfd
4 changes: 4 additions & 0 deletions trunk/drivers/edac/i5000_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,10 @@ static void handle_channel(struct i5000_pvt *pvt, int slot, int channel,
/* add the number of COLUMN bits */
addrBits += MTR_DIMM_COLS_ADDR_BITS(mtr);

/* Dual-rank memories have twice the size */
if (dinfo->dual_rank)
addrBits++;

addrBits += 6; /* add 64 bits per DIMM */
addrBits -= 20; /* divide by 2^^20 */
addrBits -= 3; /* 8 bits per bytes */
Expand Down

0 comments on commit 5a48b49

Please sign in to comment.