aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/acpi/processor.h')
-rw-r--r--include/acpi/processor.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/include/acpi/processor.h b/include/acpi/processor.h
index 916c0102db5b..b4b0ffdab098 100644
--- a/include/acpi/processor.h
+++ b/include/acpi/processor.h
@@ -18,7 +18,7 @@
18 18
19#define ACPI_PDC_REVISION_ID 0x1 19#define ACPI_PDC_REVISION_ID 0x1
20 20
21#define ACPI_PSD_REV0_REVISION 0 /* Support for _PSD as in ACPI 3.0 */ 21#define ACPI_PSD_REV0_REVISION 0 /* Support for _PSD as in ACPI 3.0 */
22#define ACPI_PSD_REV0_ENTRIES 5 22#define ACPI_PSD_REV0_ENTRIES 5
23 23
24/* 24/*
@@ -189,8 +189,9 @@ struct acpi_processor_errata {
189 } piix4; 189 } piix4;
190}; 190};
191 191
192extern int acpi_processor_preregister_performance( 192extern int acpi_processor_preregister_performance(struct
193 struct acpi_processor_performance **performance); 193 acpi_processor_performance
194 **performance);
194 195
195extern int acpi_processor_register_performance(struct acpi_processor_performance 196extern int acpi_processor_register_performance(struct acpi_processor_performance
196 *performance, unsigned int cpu); 197 *performance, unsigned int cpu);
@@ -213,7 +214,8 @@ void arch_acpi_processor_init_pdc(struct acpi_processor *pr);
213void acpi_processor_power_init_bm_check(struct acpi_processor_flags *flags, 214void acpi_processor_power_init_bm_check(struct acpi_processor_flags *flags,
214 unsigned int cpu); 215 unsigned int cpu);
215int acpi_processor_ffh_cstate_probe(unsigned int cpu, 216int acpi_processor_ffh_cstate_probe(unsigned int cpu,
216 struct acpi_processor_cx *cx, struct acpi_power_register *reg); 217 struct acpi_processor_cx *cx,
218 struct acpi_power_register *reg);
217void acpi_processor_ffh_cstate_enter(struct acpi_processor_cx *cstate); 219void acpi_processor_ffh_cstate_enter(struct acpi_processor_cx *cstate);
218#else 220#else
219static inline void acpi_processor_power_init_bm_check(struct 221static inline void acpi_processor_power_init_bm_check(struct
@@ -224,12 +226,14 @@ static inline void acpi_processor_power_init_bm_check(struct
224 return; 226 return;
225} 227}
226static inline int acpi_processor_ffh_cstate_probe(unsigned int cpu, 228static inline int acpi_processor_ffh_cstate_probe(unsigned int cpu,
227 struct acpi_processor_cx *cx, struct acpi_power_register *reg) 229 struct acpi_processor_cx *cx,
230 struct acpi_power_register
231 *reg)
228{ 232{
229 return -1; 233 return -1;
230} 234}
231static inline void acpi_processor_ffh_cstate_enter( 235static inline void acpi_processor_ffh_cstate_enter(struct acpi_processor_cx
232 struct acpi_processor_cx *cstate) 236 *cstate)
233{ 237{
234 return; 238 return;
235} 239}