diff options
author | Jan Beulich <jbeulich@suse.com> | 2012-03-08 17:05:23 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2012-03-08 17:05:23 +0100 |
commit | 9a0405c411fcec03d316342e900c75f417a21486 (patch) | |
tree | 368ce4ac727867d19247423e6e7f12dd15529c42 /xen/include/xen/cpuidle.h | |
parent | 2ab5a5dd986b46bea1094cc1e923d4dab88056d9 (diff) | |
download | xen-9a0405c411fcec03d316342e900c75f417a21486.tar.gz xen-9a0405c411fcec03d316342e900c75f417a21486.tar.bz2 xen-9a0405c411fcec03d316342e900c75f417a21486.zip |
x86/cpuidle: improve data arrangement
.. to reduce the amount of holes (wasted space).
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/xen/cpuidle.h')
-rw-r--r-- | xen/include/xen/cpuidle.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/include/xen/cpuidle.h b/xen/include/xen/cpuidle.h index 4442a84ebe..a5d11899a3 100644 --- a/xen/include/xen/cpuidle.h +++ b/xen/include/xen/cpuidle.h @@ -40,9 +40,9 @@ struct acpi_processor_cx { u8 idx; - u8 type; - u32 address; + u8 type; /* ACPI_STATE_Cn */ u8 entry_method; /* ACPI_CSTATE_EM_xxx */ + u32 address; u32 latency; u32 latency_ticks; u32 power; @@ -66,8 +66,8 @@ struct acpi_processor_power struct acpi_processor_flags flags; struct acpi_processor_cx *last_state; struct acpi_processor_cx *safe_state; - u32 last_residency; void *gdata; /* governor specific data */ + u32 last_residency; u32 count; struct acpi_processor_cx states[ACPI_PROCESSOR_MAX_POWER]; }; |