diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-03-28 21:52:06 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-04-02 13:56:40 +0300 |
commit | 0f2828e17b6f41b8b345f0031e3fe58529991748 (patch) | |
tree | a2d6fcbe7a1712916b507201029f41d9b24a1eeb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 432acb219af4edecdd11d360f30b7cc643524db8 (diff) | |
download | linux-0f2828e17b6f41b8b345f0031e3fe58529991748.tar.xz |
cpufreq: intel_pstate: Get rid of unnecessary READ_ONCE() annotations
Drop two redundant checks involving READ_ONCE() from notify_hwp_interrupt()
and make it check hwp_active without READ_ONCE() which is not necessary,
because that variable is only set once during the early initialization of
the driver.
In order to make that clear, annotate hwp_active with __ro_after_init.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions