summaryrefslogtreecommitdiff
path: root/drivers/xen/privcmd.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2013-03-24 15:58:12 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-03-25 14:13:32 (GMT)
commitaa77a52764a92216b61a6c8079b5c01937c046cd (patch)
tree0f5bf41e858e29c298af56d7ce1379f6acedd8ce /drivers/xen/privcmd.h
parent187da1d97f3a949b967274d7ee2f95d3a4f39251 (diff)
downloadlinux-aa77a52764a92216b61a6c8079b5c01937c046cd.tar.xz
cpufreq: acpi-cpufreq: Don't set policy->related_cpus from .init()
With the addition of following patch: fcf8058 cpufreq: Simplify cpufreq_add_dev() cpufreq driver's .init() routine must initialize policy->cpus with mask of all possible CPUs (Online + Offline) that share the clock. Then the core would copy this mask onto policy->related_cpus and will reset policy->cpus to carry only online cpus. acpi-cpufreq driver wasn't updated with this assumption and so sometimes when we try to hot[un]plug CPUs at run time, sysfs directories get corrupted. This patch fixes acpi-cpufreq driver against this corruption. Reported-and-tested-by: Maciej Rutecki <maciej.rutecki@gmail.com> Tested-by: Borislav Petkov <bp@suse.de> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/xen/privcmd.h')
0 files changed, 0 insertions, 0 deletions