diff options
author | Paul Burton <paul.burton@mips.com> | 2019-02-02 02:01:02 +0000 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-02-04 10:56:48 -0800 |
commit | 82f4f66ddf11fd4bd2e9b589fd69d0ec6ea777fc (patch) | |
tree | 661321dc0409e02b9c9b1429f6488b5683eb44e6 /arch/m68k/Kconfig | |
parent | c8790d657b0a8d42801fb4536f6f106b4b6306e8 (diff) | |
download | linux-82f4f66ddf11fd4bd2e9b589fd69d0ec6ea777fc.tar.bz2 |
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 'arch/m68k/Kconfig')
0 files changed, 0 insertions, 0 deletions