]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4564c90c1d3134c8e473d4fc57c10c704c6093ab
treee7c6369b20e5e37176b91a93a8ea621df8c9d893
parentd22c34a4d566b0301a8d3f53205d2c996c7804a7
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