summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorAshwin Chaugule <ashwin.chaugule@linaro.org>2015-11-19 16:40:07 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-11-23 22:21:18 +0100
commit9dc17917733f5a53ef970ac95a48d2dfb7dc7202 (patch)
tree6a672f35036a9b4985662e22caf04a80426948b2 /Kbuild
parentACPI / CPPC: Use h/w reduced version of the PCCT structure (diff)
downloadlinux-9dc17917733f5a53ef970ac95a48d2dfb7dc7202.tar.xz
linux-9dc17917733f5a53ef970ac95a48d2dfb7dc7202.zip
cpufreq: CPPC: Initialize and check CPUFreq CPU co-ord type correctly
The CPU policy struct indicates the co-ordination type for all CPUs of a common freq domain. Initialize it correctly using the CPU specific data gathered from CPPC ACPI lib via acpi_get_psd_map(). The PSD object is optional, so the cpu->shared_type can also be 0. So instead of assuming any value other than SW_ANY(0xFD) is unsupported, explictly check if shared_type is SW_ALL and then bail. Signed-off-by: Ashwin Chaugule <ashwin.chaugule@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions