diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2009-10-15 21:20:41 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-11-06 01:58:07 -0500 |
commit | d81c45e1c9369855901420f79114852eba2ea16a (patch) | |
tree | 910e9b4044bee76568c9eaeff70aac2fbc2385ab /include/acpi | |
parent | b419148e567728f6af0c3b01965c1cc141e3e13a (diff) |
ACPI: Notify the _PPC evaluation status to the platform
According to the ACPI spec(section 8.4.4.3) OSPM should convey the _PPC
evaluations status to the platform if there exists the _OST object.
The _OST contains two arguments:
The first is the PERFORMANCE notificatin event.
The second is the status of _PPC object.
OSPM will convey the _PPC evaluation status to the platform.
Of course when the module parameter of "ignore_ppc" is added, OSPM won't
evaluate the _PPC object. But it will call the _OST object.
At the same time the _OST object will be evaluated only when the PERFORMANCE
notification event is received.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/processor.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/acpi/processor.h b/include/acpi/processor.h index 740ac3ad8fd..a920237f7c6 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h | |||
@@ -294,7 +294,7 @@ static inline void acpi_processor_ffh_cstate_enter(struct acpi_processor_cx | |||
294 | #ifdef CONFIG_CPU_FREQ | 294 | #ifdef CONFIG_CPU_FREQ |
295 | void acpi_processor_ppc_init(void); | 295 | void acpi_processor_ppc_init(void); |
296 | void acpi_processor_ppc_exit(void); | 296 | void acpi_processor_ppc_exit(void); |
297 | int acpi_processor_ppc_has_changed(struct acpi_processor *pr); | 297 | int acpi_processor_ppc_has_changed(struct acpi_processor *pr, int event_flag); |
298 | #else | 298 | #else |
299 | static inline void acpi_processor_ppc_init(void) | 299 | static inline void acpi_processor_ppc_init(void) |
300 | { | 300 | { |
@@ -304,7 +304,8 @@ static inline void acpi_processor_ppc_exit(void) | |||
304 | { | 304 | { |
305 | return; | 305 | return; |
306 | } | 306 | } |
307 | static inline int acpi_processor_ppc_has_changed(struct acpi_processor *pr) | 307 | static inline int acpi_processor_ppc_has_changed(struct acpi_processor *pr, |
308 | int event_flag) | ||
308 | { | 309 | { |
309 | static unsigned int printout = 1; | 310 | static unsigned int printout = 1; |
310 | if (printout) { | 311 | if (printout) { |