diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/lmb.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |