From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juergen Gross Subject: [Patch] cpupool cleanup Date: Tue, 25 May 2010 15:49:10 +0200 Message-ID: <4BFBD556.5020701@ts.fujitsu.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050608050404060802020701" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------050608050404060802020701 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, attached patch removes an unused prototype and a double trace entry call. Juergen -- Juergen Gross Principal Developer Operating Systems TSP ES&S SWE OS6 Telephone: +49 (0) 89 3222 2967 Fujitsu Technology Solutions e-mail: juergen.gross@ts.fujitsu.com Domagkstr. 28 Internet: ts.fujitsu.com D-80807 Muenchen Company details: ts.fujitsu.com/imprint.html --------------050608050404060802020701 Content-Type: text/x-patch; name="pool-cleanup.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="pool-cleanup.patch" Signed-off-by: juergen.gross@ts.fujitsu.com diff -r 93410e5e4ad8 xen/common/schedule.c --- a/xen/common/schedule.c Sat May 22 06:36:41 2010 +0100 +++ b/xen/common/schedule.c Tue May 25 15:45:51 2010 +0200 @@ -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 93410e5e4ad8 xen/include/xen/sched.h --- a/xen/include/xen/sched.h Sat May 22 06:36:41 2010 +0100 +++ b/xen/include/xen/sched.h Tue May 25 15:45:51 2010 +0200 @@ -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); --------------050608050404060802020701 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------050608050404060802020701--