]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitd86623a0d55a14e7295e8ca1bd258e0c7f8dcb31
treec036b459354461d5bcf975d125ea338a213f2177
parent1a0db38e5fa50eeb885194b1f4e494d4de55b918
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