diff options
author | 2020-02-25 01:40:50 +0300 | |
---|---|---|
committer | 2020-03-13 11:23:09 +0100 | |
commit | f0c69bdfb0728a7cd0e065c7db434465bd50904c (patch) | |
tree | 8cd524fd7a65c8a31f371f5ccb5ac0eea93504ac /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ARM: tegra: cpuidle: Handle case where secondary CPU hangs on entering LP2 (diff) | |
download | wireguard-linux-f0c69bdfb0728a7cd0e065c7db434465bd50904c.tar.xz wireguard-linux-f0c69bdfb0728a7cd0e065c7db434465bd50904c.zip |
ARM: tegra: cpuidle: Make abort_flag atomic
Replace memory accessors with atomic API just to make code consistent
with the abort_barrier. The new variant may be even more correct now
since atomic_read() will prevent compiler from generating wrong things
like carrying abort_flag value in a register instead of re-fetching it
from memory.
Acked-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Tested-by: Peter Geis <pgwipeout@gmail.com>
Tested-by: Jasper Korten <jja2000@gmail.com>
Tested-by: David Heidelberg <david@ixit.cz>
Tested-by: Nicolas Chauvet <kwizart@gmail.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions