Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 377235
b: refs/heads/master
c: 771a37f
h: refs/heads/master
i:
  377233: 3732c3c
  377231: 3fe4dc3
v: v3
  • Loading branch information
bob picco authored and David S. Miller committed Jun 19, 2013
1 parent ebbbbb6 commit 030dea6
Show file tree
Hide file tree
Showing 2 changed files with 9 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: d72ee6be58b7c99a6e8da6584106c5958dae2bf8
refs/heads/master: 771a37ff4d80b80db3b0df3e7696f14b298c67b7
9 changes: 8 additions & 1 deletion trunk/arch/sparc/mm/init_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,14 @@ static int __init grab_mblocks(struct mdesc_handle *md)
m->size = *val;
val = mdesc_get_property(md, node,
"address-congruence-offset", NULL);
m->offset = *val;

/* The address-congruence-offset property is optional.
* Explicity zero it be identifty this.
*/
if (val)
m->offset = *val;
else
m->offset = 0UL;

numadbg("MBLOCK[%d]: base[%llx] size[%llx] offset[%llx]\n",
count - 1, m->base, m->size, m->offset);
Expand Down

0 comments on commit 030dea6

Please sign in to comment.