[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [IA64] Pull changes from xen-unstable.hg cset 10242 into mm.c
# HG changeset patch # User awilliam@xxxxxxxxxxx # Node ID 97226bfc659c104fbf2c07c087294860db2cfd7a # Parent db31c4e5e22f611c83d98b4bef179222c9cd40d1 [IA64] Pull changes from xen-unstable.hg cset 10242 into mm.c Signed-off-by: Alex Williamson <alex.williamson@xxxxxx> --- xen/arch/ia64/xen/mm.c | 14 ++------------ 1 files changed, 2 insertions(+), 12 deletions(-) diff -r db31c4e5e22f -r 97226bfc659c xen/arch/ia64/xen/mm.c --- a/xen/arch/ia64/xen/mm.c Tue Jun 13 12:50:47 2006 -0600 +++ b/xen/arch/ia64/xen/mm.c Tue Jun 13 13:13:39 2006 -0600 @@ -35,26 +35,16 @@ alloc_dom_xen_and_dom_io(void) * Any Xen-heap pages that we will allow to be mapped will have * their domain field set to dom_xen. */ - dom_xen = alloc_domain(); + dom_xen = alloc_domain(DOMID_XEN); BUG_ON(dom_xen == NULL); - spin_lock_init(&dom_xen->page_alloc_lock); - INIT_LIST_HEAD(&dom_xen->page_list); - INIT_LIST_HEAD(&dom_xen->xenpage_list); - atomic_set(&dom_xen->refcnt, 1); - dom_xen->domain_id = DOMID_XEN; /* * Initialise our DOMID_IO domain. * This domain owns I/O pages that are within the range of the page_info * array. Mappings occur at the priv of the caller. */ - dom_io = alloc_domain(); + dom_io = alloc_domain(DOMID_IO); BUG_ON(dom_io == NULL); - spin_lock_init(&dom_io->page_alloc_lock); - INIT_LIST_HEAD(&dom_io->page_list); - INIT_LIST_HEAD(&dom_io->xenpage_list); - atomic_set(&dom_io->refcnt, 1); - dom_io->domain_id = DOMID_IO; } // heavily depends on the struct page_info layout. _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |