Commit d29d6735 authored by Ashwin Chaugule's avatar Ashwin Chaugule Committed by Rafael J. Wysocki

ACPI / CPPC: Use h/w reduced version of the PCCT structure

CPPC is enabled only on platforms which support the h/w reduced
ACPI specification, so use the h/w reduced version of the PCCT
consistently when deferencing PCCT contents.

Fixes: 337aadff (ACPI: Introduce CPU performance controls using CPPC)
Signed-off-by: default avatarAshwin Chaugule <ashwin.chaugule@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent efb2d3be
...@@ -304,7 +304,7 @@ EXPORT_SYMBOL_GPL(acpi_get_psd_map); ...@@ -304,7 +304,7 @@ EXPORT_SYMBOL_GPL(acpi_get_psd_map);
static int register_pcc_channel(unsigned pcc_subspace_idx) static int register_pcc_channel(unsigned pcc_subspace_idx)
{ {
struct acpi_pcct_subspace *cppc_ss; struct acpi_pcct_hw_reduced *cppc_ss;
unsigned int len; unsigned int len;
if (pcc_subspace_idx >= 0) { if (pcc_subspace_idx >= 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment