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)
commit8bc1f91e1f0e977fb95b11d8fa686f5091888110
treee7c6369b20e5e37176b91a93a8ea621df8c9d893
parente782ab421bbba1912c87934bd0e8998630736418
bootmem: Move __alloc_memory_core_early() to nobootmem.c

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>
include/linux/mm.h
mm/nobootmem.c
mm/page_alloc.c