ACPI: enable MWAIT for C1 idle

Add MWAIT idle for C1 state instead of halt, on platforms that support
C1 state with MWAIT.

Renames cx->space_id to something more appropriate.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
venkatesh.pallipadi@intel.com
2008-01-31 17:35:04 -08:00
committed by Len Brown
parent 2e906655ba
commit bc71bec91f
2 changed files with 14 additions and 9 deletions

View File

@ -34,6 +34,7 @@
#define ACPI_CSTATE_SYSTEMIO (0)
#define ACPI_CSTATE_FFH (1)
#define ACPI_CSTATE_HALT (2)
/* Power Management */
@ -64,7 +65,7 @@ struct acpi_processor_cx {
u8 valid;
u8 type;
u32 address;
u8 space_id;
u8 entry_method;
u8 index;
u32 latency;
u32 latency_ticks;