commit | 95b6105835293a910484c5bcdd1599b8588959e9 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Thu Aug 28 11:22:30 2014 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Sep 09 01:44:41 2014 +0200 |
tree | 0f91f300fa4851398a26ffe80e9150257bfce4ce | |
parent | 2d2c5e0e72546c1b4375ff5820ca8016c7123cbb [diff] |
cpufreq: cpu0: Make allocate_resources() work for any CPU Currently allocate_resources() supports only CPU0 and it would need to allocate resources for any CPU going forward. Add another argument to it, i.e. cpu, and update code accordingly. Tested-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>