diff options
author | Viresh Kumar | 2015-02-19 17:02:07 +0530 |
---|---|---|
committer | Rafael J. Wysocki | 2015-05-07 23:38:35 +0200 |
commit | 303ae7230751219f43115615a2b79669f8ba53cf (patch) | |
tree | 214e5566e33c98d6c3862665c8d7ae431517535b /fs/mount.h | |
parent | bb29ae152e3b9d79ca35e41945a55b616e91b5b9 (diff) |
cpufreq: Clear policy->cpus even for the last CPU
We clear policy->cpus mask while CPUs are hotplugged out. We do it for all CPUs
except the last CPU of the policy. I don't remember what the rationale behind
that was, but I couldn't think of anything that will break if we remove this
conditional clearing and always clear policy->cpus.
The benefit we get out of it is, we can know if a policy is active or not by
checking if this field is empty or not. That will be used by later commits.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Saravana Kannan <skannan@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'fs/mount.h')
0 files changed, 0 insertions, 0 deletions