x86, mm: Move init_gbpages() out of setup.c
authorYinghai Lu <yinghai@kernel.org>
Sat, 17 Nov 2012 03:39:08 +0000 (19:39 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Sat, 17 Nov 2012 19:59:37 +0000 (11:59 -0800)
commit148b20989e0b83cb301e1fcd9e987c7abde05333
treea60b9f7e59c365a498a2bb47341264b430f70a9f
parentcf47065961b48727b4e47bc3e2e67f4996878437
x86, mm: Move init_gbpages() out of setup.c

Put it in mm/init.c, and call it from probe_page_mask().
init_mem_mapping is calling probe_page_mask at first.
So calling sequence is not changed.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1353123563-3103-32-git-send-email-yinghai@kernel.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/setup.c
arch/x86/mm/init.c