[PATCH] [POWERPC] Fix handling of memreserve if the range lands in highmem
Scott Wood
scottwood at FREESCALE.COM
Thu Jan 10 06:52:07 EST 2008
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?
> + 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?
-Scott
More information about the Linuxppc-dev
mailing list