ANDROID: drivers base/arch_topology: free cpumask cpus_to_visit
Free cpumask cpus_to_visit in case registering init_cpu_capacity_notifier has failed or the parsing of the cpu capacity-dmips-mhz property is done. The cpumask cpus_to_visit is only used inside the notifier call init_cpu_capacity_callback. Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Juri Lelli <juri.lelli@arm.com> Reported-by:Vincent Guittot <vincent.guittot@linaro.org> Signed-off-by:
Dietmar Eggemann <dietmar.eggemann@arm.com> Acked-by:
Vincent Guittot <vincent.guittot@linaro.org> Tested-by:
Juri Lelli <juri.lelli@arm.com> Reviewed-by:
Juri Lelli <juri.lelli@arm.com> Change-Id: I84986964e6434d23a3c0feff2d9891516abcfe59 Signed-off-by:
Chris Redpath <chris.redpath@arm.com>
Loading
Please register or sign in to comment