cpupool: Clean up unused prorotype and duplicate trace call.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 26 May 2010 06:48:09 +0000 (07:48 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 26 May 2010 06:48:09 +0000 (07:48 +0100)
Signed-off-by: Juergen Gross <juergen.gross@ts.fujitsu.com>
xen/common/schedule.c
xen/include/xen/sched.h

index f93dc51276b921a5c16c3b4b75d76ec748265fd8..60e630dc49931aa5a90498ed2d8f4996c0f337fd 100644 (file)
@@ -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);
 }
 
index 2b86b91c67851ba612733d139f72277edc4f72c2..9025980dbfe1bdcffa50f6e89e970a53acb2a295 100644 (file)
@@ -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);