summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_core.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-12-10 09:45:31 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-12-10 22:18:33 +0100
commit1c6a662f898ecd1615d25fecb8098ea646720a7a (patch)
tree560c037188ceecdd96725634736612071227ee0c /drivers/acpi/processor_core.c
parent2a6127d037de96e8add0b09e0200b331a4db54be (diff)
downloadlinux-1c6a662f898ecd1615d25fecb8098ea646720a7a.tar.gz
linux-1c6a662f898ecd1615d25fecb8098ea646720a7a.tar.bz2
linux-1c6a662f898ecd1615d25fecb8098ea646720a7a.zip
PM / OPP: replace kfree with kfree_rcu while freeing 'struct device_opp'
Somehow one of the instance of freeing resources failed to use kfree_rcu() and used kfree() instead. This might cause problems as the node might be referenced by readers under rcu locks and we must wait for the rcu grace period as well. While we are at it, also update comment over 'struct device_opp' to mention why we are waiting for both rcu and srcu grace periods. Fixes: 129eec55df6a (PM / OPP Introduce APIs to remove OPPs) Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/processor_core.c')
0 files changed, 0 insertions, 0 deletions