WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Cpufreq: remove redundant fragments

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Cpufreq: remove redundant fragments
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 08 Jan 2009 06:57:34 -0800
Delivery-date: Thu, 08 Jan 2009 07:01:24 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1231154140 0
# Node ID 42108955f52e127a91ca928818b45a6cb29f5d54
# Parent  f76f1294d82c87871e274d92282d092a0fdc09f5
Cpufreq: remove redundant fragments

Signed-off-by: Liu, Jinsong <jinsong.liu@xxxxxxxxx>
---
 xen/common/schedule.c                     |    2 +-
 xen/include/acpi/cpufreq/processor_perf.h |    2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff -r f76f1294d82c -r 42108955f52e xen/common/schedule.c
--- a/xen/common/schedule.c     Mon Jan 05 11:14:18 2009 +0000
+++ b/xen/common/schedule.c     Mon Jan 05 11:15:40 2009 +0000
@@ -119,7 +119,7 @@ void vcpu_runstate_get(struct vcpu *v, s
 
 uint64_t get_cpu_idle_time(unsigned int cpu)
 {
-    struct vcpu_runstate_info state = { .state = RUNSTATE_running };
+    struct vcpu_runstate_info state;
     struct vcpu *v;
 
     if ( (v = idle_vcpu[cpu]) == NULL )
diff -r f76f1294d82c -r 42108955f52e xen/include/acpi/cpufreq/processor_perf.h
--- a/xen/include/acpi/cpufreq/processor_perf.h Mon Jan 05 11:14:18 2009 +0000
+++ b/xen/include/acpi/cpufreq/processor_perf.h Mon Jan 05 11:15:40 2009 +0000
@@ -18,8 +18,6 @@ int  cpufreq_limit_change(unsigned int);
 
 int  cpufreq_add_cpu(unsigned int);
 int  cpufreq_del_cpu(unsigned int);
-
-uint64_t get_cpu_idle_time(unsigned int);
 
 struct processor_performance {
     uint32_t state;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Cpufreq: remove redundant fragments, Xen patchbot-unstable <=