x86: not overmap more than the end of RAM in init_memory_mapping - 64bit
authorYinghai Lu <yhlu.kernel@gmail.com>
Tue, 8 Jul 2008 08:43:27 +0000 (01:43 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jul 2008 08:43:26 +0000 (10:43 +0200)
handle head and tail that are not aligned to big pages (2MB/1GB boundary).

with this patch, on system that support gbpages, change:

  last_map_addr: 1080000000 end: 1078000000

to:

  last_map_addr: 1078000000 end: 1078000000

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found