summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2017-06-23 14:55:33 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-17 17:32:05 +0200
commit62de1161e220bc6ded7806ef0d149560f06152b3 (patch)
tree7464f3c8901afc0f63ffdeab27156ec0a4d03d6b /virt
parent805df2966f67a6b1a228c8e580e230b6c849b41e (diff)
arch_topology: Localize cap_parsing_failed to topology_parse_cpu_capacity()
cap_parsing_failed is only required in topology_parse_cpu_capacity() to know if we have already tried to allocate raw_capacity and failed, or if at least one of the cpu_node didn't had the required "capacity-dmips-mhz" property. All other users can use raw_capacity instead of cap_parsing_failed. Make sure we set raw_capacity to NULL after we free it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Juri Lelli <juri.lelli@arm.com> Tested-by: Juri Lelli <juri.lelli@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions