WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] x86: use alloc_domheap_page() consistentl

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86: use alloc_domheap_page() consistently in dom0 building
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 27 Jan 2009 08:00:14 -0800
Delivery-date: Tue, 27 Jan 2009 08:00:40 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1233055487 0
# Node ID 7b56dbd1b439e0996083810489398cb51dc43aa6
# Parent  5f03de1c2fe43b2d8a2021ccb7ad166f4ba1ead5
x86: use alloc_domheap_page() consistently in dom0 building

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 xen/arch/x86/domain_build.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff -r 5f03de1c2fe4 -r 7b56dbd1b439 xen/arch/x86/domain_build.c
--- a/xen/arch/x86/domain_build.c       Tue Jan 27 11:24:24 2009 +0000
+++ b/xen/arch/x86/domain_build.c       Tue Jan 27 11:24:47 2009 +0000
@@ -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);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] x86: use alloc_domheap_page() consistently in dom0 building, Xen patchbot-unstable <=