bootmem: Move __alloc_memory_core_early() to nobootmem.c
authorYinghai Lu <yinghai@kernel.org>
Thu, 24 Feb 2011 13:43:06 +0000 (14:43 +0100)
committerTejun Heo <tj@kernel.org>
Thu, 24 Feb 2011 13:43:06 +0000 (14:43 +0100)
Now that bootmem.c and nobootmem.c are separate, there's no reason to
define __alloc_memory_core_early(), which is used only by nobootmem,
inside #ifdef in page_alloc.c.  Move it to nobootmem.c and make it
static.

This patch doesn't introduce any behavior change.

-tj: Updated commit description.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tejun Heo <tj@kernel.org>

No differences found