aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorSrinivas Pandruvada <[email protected]>2016-10-28 10:44:52 -0700
committerRafael J. Wysocki <[email protected]>2016-11-01 06:10:54 +0100
commita410c03d668122923ab9b17c0c5728b520edddb4 (patch)
tree1a7efd942884c001df55c5652ef09f56197ae20e /scripts/gcc-plugins/cyc_complexity_plugin.c
parent33de45c133b40a129a880c175af4c2bb39dafc88 (diff)
cpufreq: intel_pstate: protect limits variable
The limits variable gets modified from intel_pstate sysfs and also gets modified from cpufreq sysfs. So protect with a mutex to keep data integrity, when they are getting modified from multiple threads. Signed-off-by: Srinivas Pandruvada <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions