summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_super.c
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2013-01-18 19:52:35 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-22 13:28:40 +0100
commit8fa938acb318378463987b04be083dc2467e0480 (patch)
tree926cebf29f659ce711e87a52572fc4238c1b158b /fs/xfs/xfs_super.c
parentbcb27549f4185ca7d0168e201931613706ef2b83 (diff)
PM / devfreq: exynos4_bus: honor RCU lock usage
OPP pointers cannot be expected to be valid beyond the boundary of rcu_read_lock and rcu_read_unlock. Unfortunately, the current exynos4 busfreq driver does not honor the usage constraint and stores the OPP pointer in struct busfreq_data. This could potentially become invalid later such as: across devfreq opp change decisions, resulting in unpredictable behavior. To fix this, we introduce a busfreq specific busfreq_opp_info structure which is used to handle OPP information. OPP information is de-referenced to voltage and frequency pairs as needed into busfreq_opp_info structure and used as needed. Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'fs/xfs/xfs_super.c')
0 files changed, 0 insertions, 0 deletions