diff options
author | Paul Burton <paul.burton@mips.com> | 2019-02-02 05:01:02 +0300 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-02-04 21:56:48 +0300 |
commit | 82f4f66ddf11fd4bd2e9b589fd69d0ec6ea777fc (patch) | |
tree | 661321dc0409e02b9c9b1429f6488b5683eb44e6 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | c8790d657b0a8d42801fb4536f6f106b4b6306e8 (diff) | |
download | linux-82f4f66ddf11fd4bd2e9b589fd69d0ec6ea777fc.tar.xz |
MIPS: Remove open-coded cmpxchg() in set_pte()
set_pte() contains an open coded version of cmpxchg() - it atomically
replaces the buddy pte's value if it is currently zero. Simplify the
code considerably by just using cmpxchg() instead of reinventing it.
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions