]> git.baikalelectronics.ru Git - kernel.git/commit
x86, mm: Merge alloc_low_page between 64bit and 32bit
authorYinghai Lu <yinghai@kernel.org>
Sat, 17 Nov 2012 03:39:01 +0000 (19:39 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Sat, 17 Nov 2012 19:59:23 +0000 (11:59 -0800)
commit24d466c980c34540c80cc18d8274608b7d253fc7
tree42c95d78f80b73307c4df17c80c03b2e701e7372
parent3167baf87c9d279ae34ab550b7c9095b976b35c1
x86, mm: Merge alloc_low_page between 64bit and 32bit

They are almost same except 64 bit need to handle after_bootmem case.

Add mm_internal.h to make that alloc_low_page() only to be accessible
from arch/x86/mm/init*.c

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1353123563-3103-25-git-send-email-yinghai@kernel.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/mm/init.c
arch/x86/mm/init_32.c
arch/x86/mm/init_64.c
arch/x86/mm/mm_internal.h [new file with mode: 0644]