diff options
Diffstat (limited to 'include/acpi/processor.h')
-rw-r--r-- | include/acpi/processor.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/include/acpi/processor.h b/include/acpi/processor.h index 1b62102fbb67..ba4928cae473 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h | |||
@@ -310,20 +310,19 @@ static inline int acpi_processor_get_bios_limit(int cpu, unsigned int *limit) | |||
310 | 310 | ||
311 | /* in processor_core.c */ | 311 | /* in processor_core.c */ |
312 | void acpi_processor_set_pdc(acpi_handle handle); | 312 | void acpi_processor_set_pdc(acpi_handle handle); |
313 | #ifdef CONFIG_SMP | ||
314 | int acpi_get_cpuid(acpi_handle, int type, u32 acpi_id); | 313 | int acpi_get_cpuid(acpi_handle, int type, u32 acpi_id); |
315 | #else | ||
316 | static inline int acpi_get_cpuid(acpi_handle handle, int type, u32 acpi_id) | ||
317 | { | ||
318 | return -1; | ||
319 | } | ||
320 | #endif | ||
321 | 314 | ||
322 | /* in processor_throttling.c */ | 315 | /* in processor_throttling.c */ |
323 | int acpi_processor_tstate_has_changed(struct acpi_processor *pr); | 316 | int acpi_processor_tstate_has_changed(struct acpi_processor *pr); |
324 | int acpi_processor_get_throttling_info(struct acpi_processor *pr); | 317 | int acpi_processor_get_throttling_info(struct acpi_processor *pr); |
325 | extern int acpi_processor_set_throttling(struct acpi_processor *pr, | 318 | extern int acpi_processor_set_throttling(struct acpi_processor *pr, |
326 | int state, bool force); | 319 | int state, bool force); |
320 | /* | ||
321 | * Reevaluate whether the T-state is invalid after one cpu is | ||
322 | * onlined/offlined. In such case the flags.throttling will be updated. | ||
323 | */ | ||
324 | extern void acpi_processor_reevaluate_tstate(struct acpi_processor *pr, | ||
325 | unsigned long action); | ||
327 | extern const struct file_operations acpi_processor_throttling_fops; | 326 | extern const struct file_operations acpi_processor_throttling_fops; |
328 | extern void acpi_processor_throttling_init(void); | 327 | extern void acpi_processor_throttling_init(void); |
329 | /* in processor_idle.c */ | 328 | /* in processor_idle.c */ |