From 93c9f65172e4612e2223b6720db6b939f7c24a1a Mon Sep 17 00:00:00 2001 From: Johannes Weiner Date: Wed, 4 Mar 2009 16:21:29 +0100 Subject: [PATCH] --- yaml --- r: 140348 b: refs/heads/master c: 264da9f708b130122d881fa4570d1cd618440a73 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/xtensa/mm/init.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 0a21494bd933..59d74d96e370 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0bef42e5c061b4aa63cc488d11400a1ef8b8f5a2 +refs/heads/master: 264da9f708b130122d881fa4570d1cd618440a73 diff --git a/trunk/arch/xtensa/mm/init.c b/trunk/arch/xtensa/mm/init.c index 55b043a5918a..a534d52a57bd 100644 --- a/trunk/arch/xtensa/mm/init.c +++ b/trunk/arch/xtensa/mm/init.c @@ -130,7 +130,8 @@ void __init bootmem_init(void) /* Find an area to use for the bootmem bitmap. */ - bootmap_size = bootmem_bootmap_pages(max_low_pfn) << PAGE_SHIFT; + bootmap_size = bootmem_bootmap_pages(max_low_pfn - min_low_pfn); + bootmap_size <<= PAGE_SHIFT; bootmap_start = ~0; for (i=0; i