xtensa: don't make bootmem bitmap larger than required
authorJohannes Weiner <jw@emlix.com>
Wed, 4 Mar 2009 15:21:29 +0000 (16:21 +0100)
committerChris Zankel <chris@zankel.net>
Fri, 3 Apr 2009 06:39:18 +0000 (23:39 -0700)
commit264da9f708b130122d881fa4570d1cd618440a73
treee2db6ac982344c4187dd0cb089bc9977752c7c0a
parent0bef42e5c061b4aa63cc488d11400a1ef8b8f5a2
xtensa: don't make bootmem bitmap larger than required

If min_low_pfn is non-zero, the bitmap reserved for bootmem is bigger
than needed.  The number of pages bootmem has to maintain is the range
from min_low_pfn to max_low_pfn.

For now it has only been a theoretical mistake, min_low_pfn was always
zero.

Signed-off-by: Johannes Weiner <jw@emlix.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/mm/init.c