[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XenPPC] [xenppc-unstable] [ppc] assign d->tot_pages since we don; t allocate this memory from the domain heap yet.
# HG changeset patch # User Jimi Xenidis <jimix@xxxxxxxxxxxxxx> # Node ID 1263c0f17bd09f1f3af00c94f1042aa1280fa6a1 # Parent 1cef59998284f834c96b66331a359f35b0baf99a [ppc] assign d->tot_pages since we don;t allocate this memory from the domain heap yet. Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx> --- xen/arch/ppc/domain.c | 1 + 1 files changed, 1 insertion(+) diff -r 1cef59998284 -r 1263c0f17bd0 xen/arch/ppc/domain.c --- a/xen/arch/ppc/domain.c Wed Jun 14 12:31:28 2006 -0400 +++ b/xen/arch/ppc/domain.c Wed Jun 14 14:08:21 2006 -0400 @@ -82,6 +82,7 @@ int arch_domain_create(struct domain *d) /* XXX the hackage... hardcode 64M domains */ d->arch.rma_base = (64<<20) * (d->domain_id + 1); d->arch.rma_size = (64<<20); + d->tot_pages = d->arch.rma_size >> PAGE_SHIFT; printk("clearing RMO: 0x%lx[0x%lx]\n", d->arch.rma_base, d->arch.rma_size); memset((void*)d->arch.rma_base, 0, d->arch.rma_size); _______________________________________________ Xen-ppc-devel mailing list Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ppc-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |