[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] cpupool: Clean up unused prorotype and duplicate trace call.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1274856489 -3600
# Node ID 145c822dd629160219676a39fda4d7dc26763508
# Parent  f31030d32fe53f143324eca587a0b9052a73c110
cpupool: Clean up unused prorotype and duplicate trace call.

Signed-off-by: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
---
 xen/common/schedule.c   |    4 ----
 xen/include/xen/sched.h |    1 -
 2 files changed, 5 deletions(-)

diff -r f31030d32fe5 -r 145c822dd629 xen/common/schedule.c
--- a/xen/common/schedule.c     Wed May 26 07:45:51 2010 +0100
+++ b/xen/common/schedule.c     Wed May 26 07:48:09 2010 +0100
@@ -1011,10 +1011,6 @@ static void schedule(void)
     update_vcpu_system_time(next);
     vcpu_periodic_timer_work(next);
 
-    TRACE_4D(TRC_SCHED_SWITCH,
-             prev->domain->domain_id, prev->vcpu_id,
-             next->domain->domain_id, next->vcpu_id);
-
     context_switch(prev, next);
 }
 
diff -r f31030d32fe5 -r 145c822dd629 xen/include/xen/sched.h
--- a/xen/include/xen/sched.h   Wed May 26 07:45:51 2010 +0100
+++ b/xen/include/xen/sched.h   Wed May 26 07:48:09 2010 +0100
@@ -622,7 +622,6 @@ extern enum cpufreq_controller {
 
 struct cpupool *cpupool_create(int poolid, char *sched);
 int cpupool_destroy(struct cpupool *c);
-int cpupool_assign_ncpu(struct cpupool *c, int ncpu);
 int cpupool_add_domain(struct domain *d, int poolid);
 void cpupool_rm_domain(struct domain *d);
 int cpupool_do_sysctl(struct xen_sysctl_cpupool_op *op);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.