path: root/include/acpi/processor.h
diff options
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-11-02 00:50:37 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-11-02 00:50:37 +0100
commit62839e2d018117f2474321b38709dd7e80796e52 (patch)
tree6bafe15d957658416fc98c3a2f3dc02b4d6f842a /include/acpi/processor.h
parent5b9ddd0d7427c16e5d8779e77ba89c2bc5a7324c (diff)
parent4219853aef645d29b122daa8a8b7bd792f1cc7c9 (diff)
Merge branch 'acpi-processor'
* acpi-processor: ACPI / CPPC: Fix potential memory leak ACPI / CPPC: signedness bug in register_pcc_channel() ACPI: Allow selection of the ACPI processor driver for ARM64 CPPC: Probe for CPPC tables for each ACPI Processor object ACPI: Add weak routines for ACPI CPU Hotplug ACPI / CPPC: Add a CPUFreq driver for use with CPPC ACPI: Introduce CPU performance controls using CPPC
Diffstat (limited to 'include/acpi/processor.h')
1 files changed, 14 insertions, 0 deletions
diff --git a/include/acpi/processor.h b/include/acpi/processor.h
index ff5f135f16b1..07fb100bcc68 100644
--- a/include/acpi/processor.h
+++ b/include/acpi/processor.h
@@ -311,6 +311,20 @@ phys_cpuid_t acpi_get_phys_id(acpi_handle, int type, u32 acpi_id);
int acpi_map_cpuid(phys_cpuid_t phys_id, u32 acpi_id);
int acpi_get_cpuid(acpi_handle, int type, u32 acpi_id);
+extern int acpi_cppc_processor_probe(struct acpi_processor *pr);
+extern void acpi_cppc_processor_exit(struct acpi_processor *pr);
+static inline int acpi_cppc_processor_probe(struct acpi_processor *pr)
+ return 0;
+static inline void acpi_cppc_processor_exit(struct acpi_processor *pr)
+ return;
+#endif /* CONFIG_ACPI_CPPC_LIB */
/* in processor_pdc.c */
void acpi_processor_set_pdc(acpi_handle handle);

Privacy Policy