aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/cpu
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2012-11-02 16:14:11 +0100
committerJan Beulich <jbeulich@suse.com>2012-11-02 16:14:11 +0100
commit9358553061e986cbe7141edfc095eee7914e7bb7 (patch)
tree899b01cabc56d86e3cc5cd336f049f7665120a1c /xen/arch/x86/cpu
parent247e9c7da3e66807abd45b39473afad6bc00267e (diff)
downloadxen-9358553061e986cbe7141edfc095eee7914e7bb7.tar.gz
xen-9358553061e986cbe7141edfc095eee7914e7bb7.tar.bz2
xen-9358553061e986cbe7141edfc095eee7914e7bb7.zip
ACPI/cpuidle: remove unused "power" field from Cx state data
It has never been used for anything, and Linux 3.7 doesn't propagate this information anymore. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/cpu')
-rw-r--r--xen/arch/x86/cpu/mwait-idle.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xen/arch/x86/cpu/mwait-idle.c b/xen/arch/x86/cpu/mwait-idle.c
index f8bbf0f231..da3079f52d 100644
--- a/xen/arch/x86/cpu/mwait-idle.c
+++ b/xen/arch/x86/cpu/mwait-idle.c
@@ -96,7 +96,6 @@ static const struct cpuidle_state {
char name[16];
unsigned int flags;
unsigned int exit_latency; /* in US */
- int power_usage; /* in mW */
unsigned int target_residency; /* in US */
} *cpuidle_state_table;
@@ -479,7 +478,6 @@ static int mwait_idle_cpu_init(struct notifier_block *nfb,
cx->type = cstate;
cx->address = get_driver_data(cstate);
cx->entry_method = ACPI_CSTATE_EM_FFH;
- cx->power = cpuidle_state_table[cstate].power_usage;
cx->latency = cpuidle_state_table[cstate].exit_latency;
cx->target_residency =
cpuidle_state_table[cstate].target_residency;