# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Node ID 06001ce66e1cdc12e1f4d2b2dbd5100b457ad0c1
# Parent 1e8d9fede80429f6e91231f4cbafe4075ce8c30d
[ppc] a few more minor cleanups
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
tools/python/xen/xend/XendDomainInfo.py | 3 ++-
xen/common/keyhandler.c | 2 +-
xen/common/memory.c | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
diff -r 1e8d9fede804 -r 06001ce66e1c tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Wed Jul 05 12:53:20 2006 -0500
+++ b/tools/python/xen/xend/XendDomainInfo.py Wed Jul 05 13:13:35 2006 -0500
@@ -1283,7 +1283,8 @@ class XendDomainInfo:
init_reservation = self.info['memory'] * 1024
if os.uname()[4] in ('ia64', 'ppc64'):
- # Workaround until ia64 properly supports ballooning.
+ # Workaround for architectures that don't yet support
+ # ballooning.
init_reservation = m
xc.domain_memory_increase_reservation(self.domid, init_reservation,
diff -r 1e8d9fede804 -r 06001ce66e1c xen/common/keyhandler.c
--- a/xen/common/keyhandler.c Wed Jul 05 12:53:20 2006 -0500
+++ b/xen/common/keyhandler.c Wed Jul 05 13:13:35 2006 -0500
@@ -167,7 +167,7 @@ static void dump_domains(unsigned char k
v->vcpu_id, v->processor,
test_bit(_VCPUF_running, &v->vcpu_flags) ? 'T':'F',
v->vcpu_flags,
- (unsigned)v->vcpu_info->evtchn_upcall_pending,
+ v->vcpu_info->evtchn_upcall_pending,
v->vcpu_info->evtchn_upcall_mask);
cpuset_print(cpuset, sizeof(cpuset), v->vcpu_dirty_cpumask);
printk("dirty_cpus=%s ", cpuset);
diff -r 1e8d9fede804 -r 06001ce66e1c xen/common/memory.c
--- a/xen/common/memory.c Wed Jul 05 12:53:20 2006 -0500
+++ b/xen/common/memory.c Wed Jul 05 13:13:35 2006 -0500
@@ -174,7 +174,7 @@ guest_remove_page(
{
/* We'll make this a guest-visible error in future, so take heed! */
DPRINTK("Dom%d freeing in-use page %lx (pseudophys %lx):"
- " count=%"PRIx64" type=%lx\n",
+ " count=%lx type=%lx\n",
d->domain_id, mfn, get_gpfn_from_mfn(mfn),
(unsigned long)page->count_info, page->u.inuse.type_info);
}
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|