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)
commit5c51bdbe4c74dce7996d0bbfa39974775cc3f13c
tree42c95d78f80b73307c4df17c80c03b2e701e7372
parent868bf4d6b94c980d3ad87f892a5e528b8ee2c320
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]
This page took 0.025128 seconds and 5 git commands to generate.