x86: fix init_memory_mapping over boundary v3
authorYinghai Lu <yhlu.kernel@gmail.com>
Sat, 28 Jun 2008 10:30:39 +0000 (03:30 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 11:16:06 +0000 (13:16 +0200)
commit7482b0e962e128c5b574aa29761f97164189ef14
tree11f99e89b1957c8b47fc1a17cfafc1899471b112
parentdf366e9822beca97115ba9745cbe1ea1f26fb111
x86: fix init_memory_mapping over boundary v3

some ram-end boundary only has page alignment, instead of 2M alignment.

v2: make init_memory_mapping more solid: start could be any value other than 0
v3: fix NON PAE by handling left over in kernel_physical_mapping

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/init_32.c