]> git.baikalelectronics.ru Git - kernel.git/commit
x86: add table_top check for alloc_low_page in 64 bit
authorYinghai Lu <yhlu.kernel@gmail.com>
Tue, 24 Jun 2008 21:57:29 +0000 (14:57 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 11:10:36 +0000 (13:10 +0200)
commit96b9b1791149a6772b5c88afd818bb1a83be9dff
treec036b459354461d5bcf975d125ea338a213f2177
parent4bdd38d442ed861c832d286d9b369e06efee4b7e
x86: add table_top check for alloc_low_page in 64 bit

that range is from find_e820_area, so don't try to use end_pfn to see
if out of boundary...use table_top instead to avoid possible strange
result while cross the boundary...

also change early_printk to printk, because init_memory_mapping is after
early param parsing, and console=uart8250 already working at that time.

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