From: Viresh Kumar Date: Thu, 19 Feb 2015 11:32:07 +0000 (+0530) Subject: cpufreq: Clear policy->cpus even for the last CPU X-Git-Tag: omap-for-v4.2/fixes-rc1^2~154^2~7^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=303ae7230751219f43115615a2b79669f8ba53cf;p=pandora-kernel.git 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 Acked-by: Saravana Kannan Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed