[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XenPPC] [ppc/xen-unstable.hg] [POWERPC][XEN] Fix "unused variable" warni...
Changeset 1d87e8ce6aab : http://xenbits.xensource.com/ext/ppc/xen-unstable.hg?cmd=changeset;node=1d87e8ce6aab [POWERPC][XEN] Fix "unused variable" warning when asserts are disabled. Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx> diffstat: 1 files changed, 1 insertion(+), 1 deletion(-) xen/arch/powerpc/shadow.c | 2 +- diffs (19 lines): diff -r 04fb85a46dc5 -r 1d87e8ce6aab xen/arch/powerpc/shadow.c --- a/xen/arch/powerpc/shadow.c Thu Aug 02 09:54:18 2007 -0500 +++ b/xen/arch/powerpc/shadow.c Fri Aug 10 14:27:21 2007 -0500 @@ -39,7 +39,6 @@ static ulong htab_alloc(struct domain *d { ulong htab_raddr; uint log_htab_bytes = order + PAGE_SHIFT; - uint htab_bytes = 1UL << log_htab_bytes; /* we use xenheap pages to keep domheap pages usefull for domains */ @@ -50,6 +49,7 @@ static ulong htab_alloc(struct domain *d htab_raddr = (ulong)alloc_xenheap_pages(order); if (htab_raddr > 0) { + uint htab_bytes = 1UL << log_htab_bytes; ASSERT((htab_raddr & (htab_bytes - 1)) == 0); d->arch.htab.order = order; _______________________________________________ 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 |