Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91420
b: refs/heads/master
c: 74b20da
h: refs/heads/master
v: v3
  • Loading branch information
Kumar Gala authored and David S. Miller committed Feb 20, 2008
1 parent 1ac3865 commit 4b7537f
Show file tree
Hide file tree
Showing 2 changed files with 6 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: e5f270954364a4add74e8445b1db925ac534fcfb
refs/heads/master: 74b20dad1c4cc0fd13ceca62fbab808919e1a7ea
5 changes: 5 additions & 0 deletions trunk/lib/lmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ static long __init lmb_add_region(struct lmb_region *rgn, u64 base, u64 size)
break;
}
}

if (base < rgn->region[0].base) {
rgn->region[0].base = base;
rgn->region[0].size = size;
}
rgn->cnt++;

return 0;
Expand Down

0 comments on commit 4b7537f

Please sign in to comment.