aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/domain_build.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-01-27 11:24:47 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-01-27 11:24:47 +0000
commit87f82d5e026c1982da611e06bd93c0e2054c9000 (patch)
tree46f51517ae5ff1f4b7ff25e9f78f1381df22b037 /xen/arch/x86/domain_build.c
parenta8ed416a2cb2a150d4c81ecb92627193ed7a8d40 (diff)
downloadxen-87f82d5e026c1982da611e06bd93c0e2054c9000.tar.gz
xen-87f82d5e026c1982da611e06bd93c0e2054c9000.tar.bz2
xen-87f82d5e026c1982da611e06bd93c0e2054c9000.zip
x86: use alloc_domheap_page() consistently in dom0 building
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/arch/x86/domain_build.c')
-rw-r--r--xen/arch/x86/domain_build.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xen/arch/x86/domain_build.c b/xen/arch/x86/domain_build.c
index c4eb21a056..08472a9b9b 100644
--- a/xen/arch/x86/domain_build.c
+++ b/xen/arch/x86/domain_build.c
@@ -781,7 +781,7 @@ int __init construct_dom0(
l4tab = l4start + l4_table_offset(va);
if ( !l4e_get_intpte(*l4tab) )
{
- page = alloc_domheap_pages(d, 0, 0);
+ page = alloc_domheap_page(d, 0);
if ( !page )
break;
/* No mapping, PGC_allocated + page-table page. */
@@ -808,7 +808,7 @@ int __init construct_dom0(
va += 1UL << L3_PAGETABLE_SHIFT;
continue;
}
- if ( (page = alloc_domheap_pages(d, 0, 0)) == NULL )
+ if ( (page = alloc_domheap_page(d, 0)) == NULL )
break;
else
{
@@ -836,7 +836,7 @@ int __init construct_dom0(
va += 1UL << L2_PAGETABLE_SHIFT;
continue;
}
- if ( (page = alloc_domheap_pages(d, 0, 0)) == NULL )
+ if ( (page = alloc_domheap_page(d, 0)) == NULL )
break;
else
{
@@ -851,7 +851,7 @@ int __init construct_dom0(
l1tab = page_to_virt(l2e_get_page(*l2tab));
l1tab += l1_table_offset(va);
BUG_ON(l1e_get_intpte(*l1tab));
- page = alloc_domheap_pages(d, 0, 0);
+ page = alloc_domheap_page(d, 0);
if ( !page )
break;
*l1tab = l1e_from_page(page, L1_PROT|_PAGE_DIRTY);