x86: fix init_memory_mapping over boundary, v4
authorYinghai Lu <yhlu.kernel@gmail.com>
Sun, 29 Jun 2008 07:39:06 +0000 (00:39 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 11:16:07 +0000 (13:16 +0200)
commita04ad82d0bff4bb564f290eb50982e02458592d9
tree7b5166e5df65a47d88cab708d246f8c9948ac286
parentb4df32f4aeef8794d0135fc8dc250acb44cfee60
x86: fix init_memory_mapping over boundary, v4

use PMD_SHIFT to calculate boundary also adjust size for pre-allocated
table size

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