From: Johannes Weiner Date: Thu, 24 Jul 2008 04:28:09 +0000 (-0700) Subject: bootmem: revisit alloc_bootmem_section X-Git-Tag: v2.6.27-rc1~763 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75a56cfe9fdb064d1db1cfbc564315fddb756fb1;p=pandora-kernel.git bootmem: revisit alloc_bootmem_section Since alloc_bootmem_core does no goal-fallback anymore and just returns NULL if the allocation fails, we might now use it in alloc_bootmem_section without all the fixup code for a misplaced allocation. Also, the limit can be the first PFN of the next section as the semantics is that the limit is _above_ the allocated region, not within. Signed-off-by: Johannes Weiner Cc: Yasunori Goto Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed