]> git.baikalelectronics.ru Git - kernel.git/commit
PM / OPP: Set cpu_dev->id in cpumask first
authorPi-Cheng Chen <pi-cheng.chen@linaro.org>
Mon, 28 Dec 2015 13:06:17 +0000 (21:06 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 1 Jan 2016 23:48:11 +0000 (00:48 +0100)
commit429dcec9a4cb91b02c4002442b5118747f693774
tree832e9bff6d22df7c36f5aa7747d543ad22745792
parentb75792d2d5d77ad220c06165bdc47a86a1080812
PM / OPP: Set cpu_dev->id in cpumask first

Set cpu_dev->id in cpumask first when setting up cpumask for CPUs that
share the same OPP table. This might be helpful when handling cpumask
without the original CPU bitfield set.

Signed-off-by: Pi-Cheng Chen <pi-cheng.chen@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp/cpu.c