aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm/init.c')
-rw-r--r--arch/x86/mm/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c
index 13cf05a6160..0b736b99d92 100644
--- a/arch/x86/mm/init.c
+++ b/arch/x86/mm/init.c
@@ -81,7 +81,7 @@ static void __init find_early_table_space(unsigned long end, int use_pse,
81 81
82void __init native_pagetable_reserve(u64 start, u64 end) 82void __init native_pagetable_reserve(u64 start, u64 end)
83{ 83{
84 memblock_x86_reserve_range(start, end, "PGTABLE"); 84 memblock_reserve(start, end - start);
85} 85}
86 86
87struct map_range { 87struct map_range {
@@ -280,8 +280,8 @@ unsigned long __init_refok init_memory_mapping(unsigned long start,
280 * pgt_buf_end) and free the other ones (pgt_buf_end - pgt_buf_top) 280 * pgt_buf_end) and free the other ones (pgt_buf_end - pgt_buf_top)
281 * so that they can be reused for other purposes. 281 * so that they can be reused for other purposes.
282 * 282 *
283 * On native it just means calling memblock_x86_reserve_range, on Xen it 283 * On native it just means calling memblock_reserve, on Xen it also
284 * also means marking RW the pagetable pages that we allocated before 284 * means marking RW the pagetable pages that we allocated before
285 * but that haven't been used. 285 * but that haven't been used.
286 * 286 *
287 * In fact on xen we mark RO the whole range pgt_buf_start - 287 * In fact on xen we mark RO the whole range pgt_buf_start -