]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/page_alloc: refactor out __alloc_contig_migrate_alloc()
authorMinchan Kim <minchan@kernel.org>
Fri, 21 Sep 2012 01:00:26 +0000 (11:00 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 21 Sep 2012 05:58:56 +0000 (15:58 +1000)
commitece27d879f9d33d7e44b97877b7436c16700412c
treea3581cde8d5b059dc8c30decda6df382af7438aa
parent4df1f57e180faff6bef8387c67f53d7f3b30bbd9
mm/page_alloc: refactor out __alloc_contig_migrate_alloc()

__alloc_contig_migrate_alloc() can be used by memory-hotplug so refactor
it out (move + rename as a common name) into page_isolation.c.

Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/page-isolation.h
mm/page_alloc.c
mm/page_isolation.c