On Jan 9, 2008, at 1:52 PM, Scott Wood wrote:

> Kumar Gala wrote:
>> I'm thinking I'll add something like:
>>                if (addr < total_lowmem)
>>                        reserve_bootmem(lmb.reserved.region[i].base,
>>                                         
>> lmb_size_bytes(&lmb.reserved, i));
>> +               else if (lmb.reserved.region[i].base >  
>> total_lowmem) {
>
> less than, surely?

damn, why didn't I see your email before a spent 20 minutes debugging  
this ;)

>> +                       unsigned long adjusted_size;
>> +//                     adjusted_size = xxx;
>> need to figure out the math here.
>
> Wouldn't it just be total_lowmem - lmb.reserved.region[i].base?

yep, but that required my brain to have enough time to think about this.

- k
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to