[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XenPPC] [xenppc-unstable] [ppc] oops, tot_pages hack for dom0 only not other domains
# HG changeset patch # User Jimi Xenidis <jimix@xxxxxxxxxxxxxx> # Node ID 88bf33b61d7644d2c5225402ea290d7a4017864b # Parent 39539f462cd7f4d3e000c290264e33462a683627 [ppc] oops, tot_pages hack for dom0 only not other domains Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx> --- xen/arch/ppc/domain.c | 1 - xen/arch/ppc/domain_build.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff -r 39539f462cd7 -r 88bf33b61d76 xen/arch/ppc/domain.c --- a/xen/arch/ppc/domain.c Thu Jun 15 13:33:04 2006 -0400 +++ b/xen/arch/ppc/domain.c Thu Jun 15 15:46:42 2006 -0400 @@ -82,7 +82,6 @@ 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); diff -r 39539f462cd7 -r 88bf33b61d76 xen/arch/ppc/domain_build.c --- a/xen/arch/ppc/domain_build.c Thu Jun 15 13:33:04 2006 -0400 +++ b/xen/arch/ppc/domain_build.c Thu Jun 15 15:46:42 2006 -0400 @@ -145,6 +145,7 @@ int construct_dom0(struct domain *d, /* By default DOM0 is allocated all available memory. */ d->max_pages = ~0U; + d->tot_pages = (d->arch.rma_size >> PAGE_SHIFT); ASSERT( image_len < rma_sz ); _______________________________________________ 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 |