aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-rtl-pass.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-01-15 18:55:13 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-01-29 15:37:56 +0100
commitf2675e588f928f7f3051765563a18f90332bd57b (patch)
tree8c5c6847bd0cf09fde824562f72b3dda4f5dca7f /scripts/gcc-plugins/gcc-generate-rtl-pass.h
parentc6a783be82c893c6f124a5853bef2edeaf26dadf (diff)
thermal: gov_fair_share: Fix dependency on trip points ordering
The computation in the fair share governor's get_trip_level() function currently works under the assumption that the temperature ordering of trips[] in a thermal zone is ascending, which need not be the case. However, get_trip_level() can be made work regardless of whether or not the trips table is ordered by temperature in any way, so change it accordingly. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions